1.0.0 • Published 8 years ago

osx-firefox v1.0.0

Weekly downloads
26
License
MIT
Repository
github
Last release
8 years ago

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-firefox

Firefox needs to be installed on your system as well.

API

firefox(opts, cb)

Options:

  • display: Set process.env.DISPLAY to :${opts.display} for xvfb support
  • proxy: Proxy server settings
  • noProxy: Proxy routes to skip
  • background: Don't foreground the browser

License

MIT