$ npm install chrome-finder
find a executable chrome in your system automatic
const findChrome = require('chrome-finder');
const chromePath = findChrome();
chrome
executable is not found, an error Error('no chrome installations found')
will be thrownchrome
executable is found, but the platform is not one of ['win32', 'darwin', 'linux']
, an error Error('platform not support')
will be thrown.chrome-finder has been used in:
© 2010 - cnpmjs.org x YWFE | Home | YWFE