Giter Club home page Giter Club logo

Comments (10)

jlandure avatar jlandure commented on August 23, 2024 1

Hi @x0rzkov 👋

Thanks to @Niek I've updated the branch: the example using Playwright is working! 🎉
Please check it out and send feedbacks!

The zenika/alpine-chrome:with-playwright tag with a Chromium 83 is working 🚀

$ docker container run -it --rm -v $(pwd):/usr/src/app --cap-add=SYS_ADMIN zenika/alpine-chrome:with-playwright npm start

> [email protected] start /usr/src/app
> node src/useragent

Chromium 83.0.4103.61 

from alpine-chrome.

 avatar commented on August 23, 2024 1

yes of course, thanks for everything !

from alpine-chrome.

jlandure avatar jlandure commented on August 23, 2024

Hi @x0rzkov

Yes I'm fine and you?
First of all, thanks for the suggestion. 👍

What do you do with Selenium?
Personally I haven't played with selenium for a long time so I didn't know how to install / manage / check that it's working. 😇
Can you specify a little more the goals and an exemple of achievement?

Also have you tried dedicated docker image to selenium? see here on the docker hub

Have a good day. ☀️

from alpine-chrome.

 avatar commented on August 23, 2024

Hi,

Thanks for your reply !

We (with a friend @lucmichalski) are doing some web scraping for building a cars dataset for deep learning purpose.
Ref. https://github.com/lucmichalski/cars-dataset
Example: https://github.com/lucmichalski/cars-dataset/blob/master/plugins/autotrader.com/crawler/crawler.go#L16

And we solve the problem by using a docker image as you suggested.

Btw, have you considered to add https://github.com/microsoft/playwright also.
It would be an awesome replacement of puppeter.
Refs.

Cheers,
X

from alpine-chrome.

jlandure avatar jlandure commented on August 23, 2024

@all-contributors please add @x0rzkov for bug and ideas

from alpine-chrome.

allcontributors avatar allcontributors commented on August 23, 2024

@jlandure

I've put up a pull request to add @x0rzkov! 🎉

from alpine-chrome.

jlandure avatar jlandure commented on August 23, 2024

hey @x0rzkov 👋

How are you?

I've tried to work with Playwright here at #85
But the result is not very useful 😅

Can you try this from your side to help me create the with-playwright tag?

from alpine-chrome.

 avatar commented on August 23, 2024

I sent you a DM on twitter because I have some questions to ask you about that and did not wanted to pollute this feed.

from alpine-chrome.

jlandure avatar jlandure commented on August 23, 2024

Following the creation of the Playwright version, can I close this issue? 👍

from alpine-chrome.

jlandure avatar jlandure commented on August 23, 2024

Please share the announcement: https://twitter.com/jlandure/status/1268175622230233091
And my post on dev.to here: https://dev.to/jlandure/crafting-the-perfect-container-to-play-with-a-headless-chrome-ilp

from alpine-chrome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.