Hacker News new | ask | show | jobs
by troglodynellc 1897 days ago
Puppeteer does a few more things, but only works for chrome.

Both of them are essentially wrapping devtools protocols. AFAIK, much of the playwright approach was guided by trying to Hew as closely to the puppeteer approach, but cross-platform. Both the APIs are very similar.

1 comments

Does playwright work out of the box in CI systems (github actions) or we have to explicitly install the browser binaries? I am planning to use playwright-java (https://playwright.dev/java/docs/intro)
Playwright will install the browsers seamlessly, also you can opt into using the browsers that are already installed on CI. See https://playwright.dev/docs/ci and https://playwright.dev/docs/browsers for more details.