I spent at-least 30 mins waiting for the spinner. This seems like a massive dependency. How do I speed it up? I already have chrome, firefox and safari on my machine.
How do I make playwright use existing versions?
The recent Playwright versions will reuse the downloaded versions. Which operating system are you using? And which Playwright version?
Also a generic speedtest would be useful.
I just did yarn add so whatever is latest published version.
Using Mac on Catalina. It took 45 mins but seemed to work now.
Having the getting started script work out of the box was a massive revelation. Wow! This is indeed a fantastic library.
First time Playwright is installed it fetches the browsers off CDNs (~450Mb). Could be the CDN outage or CDN throttling on your side...
How do I make playwright use existing versions?
@nojvek as of today (May 2020), Playwright has to download browsers from CDN since we distribute our own builds of webkit and firefox.
Using Mac on Catalina. It took 45 mins but seemed to work now.
That's crazy! Looks like an occasional internet problem to me. It usually takes <30 seconds for me to download browsers.
That said, Playwright caches downloaded browsers on your machine, so you'll need to do it only once.
I know this is closed and thanks to responding to me at owl o’ clock.
One thing that could make the install user experience nicer is printing something to the console e.g downloading
Thanks for pointing this out @nojvek. It seems that yarn add suppresses stdout/stderr output from postinstall scripts, causing the install progress to be hidden (relevant issue).

Most helpful comment
Thanks for pointing this out @nojvek. It seems that
yarn addsuppresses stdout/stderr output from postinstall scripts, causing the install progress to be hidden (relevant issue).