Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.92 KB

README.md

File metadata and controls

41 lines (31 loc) · 1.92 KB

Electron ChromeDriver

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

Simple node module to download the ChromeDriver version for Electron.

This minor version of this library tracks the minor version of the Electron versions released. So if you are using Electron 1.0.x you would want to use an electron-chromedriver dependency of ~1.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/"