# chromedriver
**Repository Path**: AbstractFactory/chromedriver
## Basic Information
- **Project Name**: chromedriver
- **Description**: Download ChromeDriver for Electron
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-03-15
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Electron ChromeDriver
[](https://circleci.com/gh/electron/chromedriver/tree/master)
[](https://ci.appveyor.com/project/electron-bot/chromedriver/branch/master)
[](http://standardjs.com/)
[](https://david-dm.org/electron/chromedriver)
[](https://opensource.org/licenses/MIT)
[](https://www.npmjs.com/package/electron-chromedriver)
[](https://www.npmjs.com/packages/electron-chromedriver)
Simple node module to download the [ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver)
version for [Electron](http://electron.atom.io).
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](https://github.com/electron/spectron).
## Using
```sh
npm install --save-dev electron-chromedriver
chromedriver -h
```
## Custom Mirror
You can set the `ELECTRON_MIRROR` or [`NPM_CONFIG_ELECTRON_MIRROR`](https://docs.npmjs.com/misc/config#environment-variables)
environment variables to use a custom base URL for downloading ChromeDriver zips.
```sh
# 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/"
```