Skipping Chromium download
Covered in this doc
How to skip downloading Puppeteer and provide a path to an existing Chrome browser
@percy/agent
If you would like to skip downloading the Chromium browser Puppeteer downloads, you will need to set two environment variables:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD
- Set this to truePUPPETEER_EXECUTABLE_PATH
- Set this to the path of the Chrome browser on your system / CI image.
Setting both of these environment variables is required for this to work. We currently use Puppeteer for various tasks (depending on the command you're running), so it's essential you provide a path to a working Chrome browser.
Please review Puppeteer's environment docs for more information.
Updated over 2 years ago