linux-chrome
Launch a fresh Google Chrome on Linux.
Example
const chrome = const ps = ps
Installation
$ npm install linux-chrome
Google Chrome needs to be installed on your system as well.
API
ps = chrome(opts)
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
License
MIT