1. electron-chromedriver
Electron ChromeDriver
electron-chromedriver
Package: electron-chromedriver
Created by: electron
Last modified: Thu, 02 May 2024 02:10:09 GMT
Version: 30.0.2
License: MIT
Downloads: 57,986
Repository: https://github.com/electron/chromedriver

Install

npm install electron-chromedriver
yarn add electron-chromedriver

Electron ChromeDriver

CircleCI Status
npm:


js-standard-style
license:mit


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/"

Overriding the version downloaded

The version downloaded can be overriden by setting the ELECTRON_CUSTOM_VERSION environment variable.

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code