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
electron-chromedriver dependency of
~2.0.0 in your
This library is used by spectron.
npm install --save-dev electron-chromedriverchromedriver -h
You can set the
environment variables to use a custom base URL for downloading ChromeDriver zips.
# Electron mirror for ChinaELECTRON_MIRROR=""# Local mirror# Example of requested URL:ELECTRON_MIRROR=""
Overriding the version downloaded
The version downloaded can be overriden by setting the
ELECTRON_CUSTOM_VERSION environment variable.