-
-
Notifications
You must be signed in to change notification settings - Fork 744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Playwright library #144
Comments
@berstend any updates here? |
The author is MIA unfortunately :\ Should we start a collaborative effort in porting this to Playwright perhaps? I've been toying with Playwright for a few days and got some successes on some websites with Akamai but haven't dig super deep yet. |
@brunogaspar agree. Lots of plugins don't work here anymore and it seems to be everything must be switched into playwright. |
How do you guys feel about forking and starting on a playwright version? @XBeg9 @brunogaspar |
I think that's the proper way to go, at least until we get some feedback from @berstend |
I've created a fork here https://github.com/werxe/playwright-extra Need to perform changes so it can then later be installed through NPM then going to start updating what i personally see it's needed for now. You guys want to be added to the project? |
Yup, I would love to help out!
… On Apr 12, 2020, at 7:41 AM, Bruno Gaspar ***@***.***> wrote:
I've created a fork here https://github.com/werxe/playwright-extra
Need to perform changes so it can then later be installed through NPM then going to start updating i personally see it's needed.
You guys want to be added to the project?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
(Apologies for the longer read and context) I had a first look at Playwright and (being a Puppeteer fork) the API is mostly compatible. :-)
My understanding is that the lead switched over to MS but Puppeteer is still being actively developed by Google (they mention in their issue tracker that they're open for collaboration with Playwright though). The main benefit of Playwright currently seems to be better browser support (firefox and especially webkit). This is not super relevant for users of our popular plugins, as e.g. Hard to tell what the future holds right now and if Playwright will completely absorb Puppeteer. Looking at the stats Puppeteer is still the behemoth in the headless space and Playwright a relatively small contender. I'm pretty sure we can make On the other hand having completely separate packages (or even repos) just for Playwright doesn't make sense either as 99% of the code would be a duplicate of the Puppeteer version. And then there's the naming question: Importing Is there any specific reason (except for hype 🤓) to favor Playwright over Puppeteer right now, in a project that would want to use TL;DR - My stance is this:
Interested to hear thoughts on this. :-) |
Yes, Playwright patches Chromium itself to fix stuff like the persistance of user-agent and viewport when opening a popup/new tab. |
Ah true, I forgot about their custom browser patches. Hmmm. :-) |
Even if they do, there are some puppeteer workarounds that would compromise the experience, e.g. if you change the viewport size, it will reload the page - as far as I remember, that's not the case with playwright. |
The majority of work to support Playwright is done, I basically ended up rewriting the whole project to support both Puppeteer & Playwright (+ whatever might come next) with a single underlying package ( The progress can be tracked in #303 - the challenge is to stay backwards compatible with all existing plugins while supporting the new ones (the only way to do this is meticulous testing). The end result will be small Plugins will be compatible with both (as well as chromium, firefox, webkit browsers), but the Plugins themselves need to be written/updated in a way to support all these things respectively (e.g. pptr has |
At long last: The release of |
Condensed info on how to test drive the upcoming |
need the stealth on playwright-extra my g |
Closing this issue 💪 |
It looks like the Puppeteer team has moved on to developing Playwright (https://github.com/microsoft/playwright). Will Puppeteer-Extra be ported over or is it already compatible?
The text was updated successfully, but these errors were encountered: