download and unpacker webDriver from cnpm mirros
Install
npm install --save get-webdriver
Usage
var getWebDriver = ; getWebDriver;
API
.run(options)
download and unpacker webDriver.
options
- Type: object
options.browser
- Type: String
- Values: chrome, opera
options.platform
- Type: String
- Values: linux, darwin, win32
- Default:
process.platform
options.directory
- Type: String
The directory for save drivers
options.versions
- Type: String
The webDriver version, refer to chromeDriver versions, operaDriver versions
Test
npm test
License
MIT © 2015 sobear