You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the browsers for the tests are downloaded when npm install is invoked so that all test dependencies are present right away without further setup. This was also needed before because there was no way in Puppeteer to selectively download browsers at a later time.
However, nowadays Puppeteer exposes a separate browsers package/CLI. This could allow us to defer downloading of the actual browsers until the tests are actually started. This could be good for two reasons:
Wow, this is a good proposal. Since it reduces installation times and improves CI efficiency. While Puppeteer is more associated with Chromium, it has Firefox support now.
You can install Firefox with @puppeteer/browsers:
Just use the npx @puppeteer/browsers install command, specifying Firefox.
Currently the browsers for the tests are downloaded when
npm install
is invoked so that all test dependencies are present right away without further setup. This was also needed before because there was no way in Puppeteer to selectively download browsers at a later time.However, nowadays Puppeteer exposes a separate browsers package/CLI. This could allow us to defer downloading of the actual browsers until the tests are actually started. This could be good for two reasons:
The text was updated successfully, but these errors were encountered: