Launch a fresh Google Chrome on Linux.
const chrome = require('linux-chrome')
const ps = chrome({ uri: 'https://github.com/' })
ps.on('error', console.error)
$ npm install linux-chrome
Google Chrome needs to be installed on your system as well.
Returns a child_process
object.
Options:
display
: Set process.env.DISPLAY to:${opts.display}
for xvfb supportproxy
: Proxy server settingsdataDir
: Data dir, defaults to/tmp/$RANDOM
MIT