1.0.0 • Published 9 years ago
osx-firefox v1.0.0
osx-firefox
Launch a fresh Firefox on OSX.
Example
const firefox = require('osx-firefox')
firefox({ uri: 'https://github.com/' }, (err, ps) => {
if (err) throw err
ps.on('error', console.error)
})Installation
$ npm install osx-firefoxFirefox needs to be installed on your system as well.
API
firefox(opts, cb)
Options:
display: Set process.env.DISPLAY to:${opts.display}for xvfb supportproxy: Proxy server settingsnoProxy: Proxy routes to skipbackground: Don't foreground the browser
License
MIT
1.0.0
9 years ago