1.0.7 • Published 6 years ago
chrome-finder v1.0.7
chrome-finder
find a executable chrome in your system automatic
Use
const findChrome = require('chrome-finder');
const chromePath = findChrome();- if the
chromeexecutable is not found, an errorError('no chrome installations found')will be thrown - if the
chromeexecutable is found, but the platform is not one of['win32', 'darwin', 'linux'], an errorError('platform not support')will be thrown.
Use Case
chrome-finder has been used in:
- chrome-runner run chrome with ease from node.