How to add the chrome binary to run e.g. Karma tests on headless chrome on a CI server How to add the chrome binary to run e.g. Karma tests on headless chrome on a CI server google-chrome google-chrome

How to add the chrome binary to run e.g. Karma tests on headless chrome on a CI server


If what you fear is that download from the internet might be slow, you can tell puppeteer where to download chrome from and use a local address.

Use PUPPETEER_DOWNLOAD_HOST to specify where to download Chrome from and PUPPETEER_SKIP_CHROMIUM_DOWNLOAD to skip downloading Chrome altogether.

You can read more about this in the documentation.