macaca-chromedriver

1.2.16 • Public • Published

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


yihuineng


Chan-Chun


zjhch123

This project follows the git-contributor spec, auto updated at Tue Feb 15 2022 18:09:23 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)

Readme

Keywords

Package Sidebar

Install

npm i macaca-chromedriver

Weekly Downloads

362

Version

1.2.16

License

MIT

Unpacked Size

24.8 kB

Total Files

10

Last publish

Collaborators

  • xudafeng
  • ziczhu
  • paradite
  • chun_chan