Download ChromeDriver for Electron
Перейти к файлу
Felix Rieseberg 0051436185 chore: Update to 7.0.0-beta.5 2019-10-08 14:22:40 -07:00
.circleci 3.0.0-beta.1 2018-06-21 11:40:44 -04:00
test chore: update standard and mocha 2019-07-29 19:35:47 -07:00
.gitignore Git ignore npm-debug.log 2015-10-25 15:46:54 -07:00
.npmignore Add initial appveyor config 2015-10-27 14:00:46 -06:00
README.md 3.0.0-beta.1 2018-06-21 11:40:44 -04:00
appveyor.yml 1.8.0 2017-12-14 10:49:32 -05:00
chromedriver.js fix: error throwing on process close 2018-10-21 09:45:50 -07:00
download-chromedriver.js chore: update standard and mocha 2019-07-29 19:35:47 -07:00
package-lock.json chore: Update to 7.0.0-beta.5 2019-10-08 14:22:40 -07:00
package.json chore: Update to 7.0.0-beta.5 2019-10-08 14:22:40 -07:00

README.md

Electron ChromeDriver

Linux and Mac Build Status Windows Build status
js-standard-style devDependencies:?
license:mit npm: dependencies:?

Simple node module to download the ChromeDriver version for Electron.

The major version of this library tracks the major version of the Electron versions released. So if you are using Electron 2.0.x you would want to use an electron-chromedriver dependency of ~2.0.0 in your package.json file.

This library is used by spectron.

Using

npm install --save-dev electron-chromedriver
chromedriver -h

Custom Mirror

You can set the ELECTRON_MIRROR or NPM_CONFIG_ELECTRON_MIRROR environment variables to use a custom base URL for downloading ChromeDriver zips.

# Electron mirror for China
ELECTRON_MIRROR="https://npm.taobao.org/mirrors/electron/"

# Local mirror
# Example of requested URL: http://localhost:8080/1.2.0/chromedriver-v2.21-darwin-x64.zip
ELECTRON_MIRROR="http://localhost:8080/"