Skip to content

houseshi/macaca-chromedriver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

macaca-chromedriver

NPM version build status Test coverage node version npm download

Node.js wrapper for the selenium chromedriver.

Contributors


xudafeng


ziczhu


paradite


Super-Ps


Yinxl


kyowang


Chan-Chun


zjhch123

This project follows the git-contributor spec, auto updated at Tue Oct 08 2019 13:15:48 GMT+0800.

Installment

$ npm i macaca-chromedriver --save-dev

Custom port

Another option is to use port variable MACACA_CHROMEDRIVER_PORT

$ MACACA_CHROMEDRIVER_PORT=9516 macaca run --verbose

Custom binaries url

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

Quick Start

$ chromedriver

Custom Version

$ CHROMEDRIVER_VERSION=2.2x npm i macaca-chromedriver -g

versioning list: https://chromedriver.chromium.org/downloads

License

The MIT License (MIT)

About

Node.js wrapper for the selenium chromedriver.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%