DEV Community

Discussion on: If you consider Puppeteer cool, then playwright is awesomeness ๐Ÿ˜

Collapse
 
evanplaice profile image
Evan Plaice

Does playwrite download its own version of the browser like Puppeteer, or can it use an existing install?

Collapse
 
yashints profile image
Yaser Adel Mehraban

It downloads the binaries from official channels, not sure you can use an existing or not, will look it up

Collapse
 
evanplaice profile image
Evan Plaice

Thanks. That's my biggest issue with E2E testing FWs.

I'd like to be able to npx playwright and have the tests run instantly. Rather than wait 5 min for a download.

Thread Thread
 
yashints profile image
Yaser Adel Mehraban

Might happen, itโ€™s open source, check the issues and see if something exists. Up vote or create one ๐Ÿ™‚. Even better create a PR if thatโ€™s your thing

Collapse
 
arjunattam profile image
Arjun Attam

You can use it with an existing install, and avoid the binaries from getting downloaded. Check out the playwright-core NPM package, which does not install the binaries. We want to ensure your tests run fast and if your setup does not need the browser to be downloaded, you shouldn't have to wait.

Collapse
 
evanplaice profile image
Evan Plaice

Awesome! Thank you ๐Ÿ™