browser-driver-installer
Installs Chrome and Gecko drivers that matches with the specified browser versions
Last updated a year ago by cdagli .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install browser-driver-installer 
SYNC missed versions from official npm registry.

Build Status

browser-driver-installer

Installs the Chrome and Gecko drivers that match with the specified browser versions.

Usage:

Post Install Script: If your environment has the BROWSER_DRIVER_INSTALLER_CHROME_VERSION, BROWSER_DRIVER_INSTALLER_CHROMEDRIVER_PATH, BROWSER_DRIVER_INSTALLER_FIREFOX_VERSION, BROWSER_DRIVER_INSTALLER_GECKODRIVER_PATH variables defined, a post-install script will download the ChromeDriver and GeckoDriver executables to the specified paths automatically.

If you want to, you can call the post-install script without the installation with npx:

npx --package browser-driver-installer installBrowserDrivers

As a module:

const browserDriverInstaller = require('browser-driver-installer').browserDriverInstaller;
browserDriverInstaller(BROWSER_NAME, BROWSER_VERSION, TARGET_PATH);

CLI Usage:

 Usage: index [options]

  Options:

    --browser-name <browserName>        Sets the name of the browser to install the driver for
    --browser-version <browserVersion>  Sets the browser version string, e.g., 65, 67.0.23
    --target-path <targetPath>          Sets the target path to install the driver executable
    -h, --help                          Prints out this help information

LICENSE

Apache 2.0

Current Tags

  • 2.0.3                                ...           latest (9 months ago)

35 Versions

  • 2.0.3                                ...           9 months ago
  • 2.0.2                                ...           9 months ago
  • 2.0.0                                ...           9 months ago
  • 1.0.32                                ...           10 months ago
  • 1.0.31                                ...           10 months ago
  • 1.0.30                                ...           a year ago
  • 1.0.29                                ...           a year ago
  • 1.0.28                                ...           a year ago
  • 1.0.27                                ...           a year ago
  • 1.0.26                                ...           a year ago
  • 1.0.25                                ...           a year ago
  • 1.0.24                                ...           a year ago
  • 1.0.23                                ...           a year ago
  • 1.0.22                                ...           a year ago
  • 1.0.21                                ...           a year ago
  • 1.0.20                                ...           a year ago
  • 1.0.19                                ...           a year ago
  • 1.0.18                                ...           a year ago
  • 1.0.16                                ...           a year ago
  • 1.0.15                                ...           a year ago
  • 1.0.14                                ...           a year ago
  • 1.0.13                                ...           2 years ago
  • 1.0.12                                ...           2 years ago
  • 1.0.11                                ...           2 years ago
  • 1.0.10                                ...           2 years ago
  • 1.0.9                                ...           2 years ago
  • 1.0.8                                ...           2 years ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 7
Dependencies (6)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |