Node.js wrapper for the selenium chromedriver.
$ npm i macaca-chromedriver --save-dev
To use a mirror of the ChromeDriver binaries use npm config property chromedriver_cdnurl
.
Default is http://chromedriver.storage.googleapis.com
.
npm install chromedriver --chromedriver_cdnurl=http://npm.taobao.org/mirrors/chromedriver
Or add property into your .npmrc
file.
chromedriver_cdnurl=http://npm.taobao.org/mirrors/chromedriver
Another option is to use PATH variable CHROMEDRIVER_CDNURL
.
CHROMEDRIVER_CDNURL=http://npm.taobao.org/mirrors/chromedriver npm install chromedriver
$ chromedriver
The MIT License (MIT)
Copyright (c) 2015 xdf