Re:Playwright-test – cross-browser end-to-end test suite wit...
by mwkurian on Tuesday April 06, 2021 @04:37PM
(#26717097)
How does puppeteer compare with Playwright?
[ Parent
| on HN ]
Re:Playwright-test – cross-browser end-to-end test suite wit...
by troglodynellc on Tuesday April 06, 2021 @04:44PM
(#26717161)
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.
Re:Playwright-test – cross-browser end-to-end test suite wit...
by SureshG on Tuesday April 06, 2021 @05:06PM
(#26717390)
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)
Re:Playwright-test – cross-browser end-to-end test suite wit...
by pavelfeldman on Tuesday April 06, 2021 @05:21PM
(#26717540)
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.