chrome-launch
Light cross-platform launcher for Google Chrome
Last updated 10 years ago by hughsk .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install chrome-launch 
SYNC missed versions from official npm registry.

chrome-launch

Light cross-platform launcher for Google Chrome.

Usage

NPM

process = spawn(url, [options])

Spawns a new Chrome instance in a separate process using child_process.spawn.

Options include:

  • args: additional command-line arguments to pass to Chrome. See here for a full list.
  • dir: user configuration directory to use. By default, one will be created and then removed when the process is killed.
  • env: environment variables to use. Defaults to process.env.
  • nuke: remove opts.dir when the process exits.

The following command-line options are passed to Chrome in addition to the ones you supply:

  • --no-first-run
  • --no-default-browser-check
  • --disable-translate
  • --disable-default-apps
  • --disable-popup-blocking
  • --disable-zero-browsers-open-for-tests
  • --user-data-dir=${opts.dir}

License

MIT. See LICENSE.md for details.

Current Tags

  • 1.1.4                                ...           latest (9 years ago)

7 Versions

  • 1.1.4                                ...           9 years ago
  • 1.1.3                                ...           10 years ago
  • 1.1.2                                ...           10 years ago
  • 1.1.1                                ...           10 years ago
  • 1.1.0                                ...           10 years ago
  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
Maintainers (1)
Downloads
Total 1
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (6)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE