ci-browser-downloader
This package downloads Firefox and Chrome (via puppeteer) on install. It does not throw an error if it fails. This package is intended to be used in Continuous Integration environments, where neither browser has been installed.
Installation
npm install ci-browser-downloader
Usage
const ci = ;const chrome = ci;if chromeavailable ... = chromebinary; const firefox = ci;if firefoxavailable ... = firefoxbinary;