ci-browser-downloader

0.2.0 • Public • Published

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 = require('ci-browser-downloader');
const chrome = ci.chrome();
if (chrome.available) {
    ... = chrome.binary;
}
 
const firefox = ci.firefox();
if (firefox.available) {
    ... = firefox.binary;
}

Package Sidebar

Install

npm i ci-browser-downloader

Weekly Downloads

0

Version

0.2.0

License

MIT

Last publish

Collaborators

  • kyubisation