Skip to content

gwuhaolin/chrome-finder

Repository files navigation

Npm Package Build Status Build Status Dependency Status Npm Downloads

chrome-finder

find a executable chrome in your system automatic

Use

const findChrome = require('chrome-finder');
const chromePath = findChrome();
  • if the chrome executable is not found, an error Error('no chrome installations found') will be thrown
  • if the chrome executable is found, but the platform is not one of ['win32', 'darwin', 'linux'], an error Error('platform not support') will be thrown.

Use Case

chrome-finder has been used in: