News for hackers. Stuff that matters.
Re:Theheadless.dev – open source Puppeteer and Playwright kn... by skywal_l on Wednesday August 19, 2020 @07:26AM (#24209268)
Chrome only...
Re:Theheadless.dev – open source Puppeteer and Playwright kn... by rozenmd on Wednesday August 19, 2020 @07:27AM (#24209276)
"Playwright provides a set of APIs to automate Chromium, Firefox and WebKit browsers."
Re:Theheadless.dev – open source Puppeteer and Playwright kn... by skywal_l on Wednesday August 19, 2020 @07:58AM (#24209516)
Indeed I missed that. So playwright is definitely more interesting.

What is surprising is the linked site is quoting the FAQ of playwright that has been removed a couple of months ago: https://github.com/microsoft/playwright/pull/1930/files

That FAQ seems to be giving a lot of perspective on the subject. Wondered why it was removed.

Re:Theheadless.dev – open source Puppeteer and Playwright kn... by tudorconstantin on Wednesday August 19, 2020 @07:28AM (#24209283)
For puppetteer, but playwright also works with Firefox and webkit
Re:Theheadless.dev – open source Puppeteer and Playwright kn... by tnolet on Wednesday August 19, 2020 @07:30AM (#24209287)
OP here. Puppeteer is actually starting to support Firefox also quite extensively. But Playwright takes the crown for now.
Re:Theheadless.dev – open source Puppeteer and Playwright kn... by tudorconstantin on Wednesday August 19, 2020 @07:40AM (#24209352)
Quick question: if you were to start a new project today, what would be your choice between puppeteer and playwright?

Haven't worked extensively with them, but it seems to me playwright is the no-brainer now because of the guys behind it (the creators of puppeteer), their experience and lessons learned with puppeteer and also the support for Firefox and webkit.

Re:Theheadless.dev – open source Puppeteer and Playwright kn... by tnolet on Wednesday August 19, 2020 @07:52AM (#24209459)
I guess so, the emergence of Playwright is therefore really interesting in general. It's two frameworks by arguably the same folks. Time will tell what will happen. Competition is never bad!
Re:Theheadless.dev – open source Puppeteer and Playwright kn... by simlevesque on Wednesday August 19, 2020 @08:25AM (#24209666)
Beware, when I tested Playwright to migrate from Puppeteer, many features were lacking or less polished.
Re:Theheadless.dev – open source Puppeteer and Playwright kn... by arjun27 on Wednesday August 19, 2020 @11:42AM (#24211595)
Thanks for the feedback. I'm from the Playwright team, and I'd love to know more on what was missing for you.
Re:Theheadless.dev – open source Puppeteer and Playwright kn... by ravenstine on Wednesday August 19, 2020 @09:34AM (#24210183)
How long ago? I've had nothing but a good experience with Playwright.