Maybe change puppeteer->playwright
asg017 opened this issue · 0 comments
asg017 commented
Came across Playwright today, seems pretty cool. The API is very similar to puppeteer so it wont be too big of a change. Here's why I think paywright could be nice:
- Be able to define a chromium, firefox, or webkit browser
- Change geolocation, permissions of the browser
- Chose the type of device to emulate (iphones, android, etc.)
- There's some capability for video recording.
Reasons to keep puppeteer only:
- playwright is much larger. There is a playwright-core, but ppl would still have to download playwright and it downloads 3 browsers vs puppeteer's 1
- The video recording (for now) records the entire screen and it seems like there's not many options to control like a screenshot.
- Only having to worry about 1 browser instead of 3 would be less of a headache. But it's not like this library is a headache to maintain