selenium-download

2.0.16 • Public • Published

nlm-github nlm-node nlm-version

selenium-download

This module allows you to download the latest versions of the selenium standalone server and the chromedriver.

Keep up to date with changes by checking the releases.

example

var selenium = require('selenium-download');

selenium.ensure(__dirname + '/bin', function (error) {
  if (error) console.error(error.stack);
  process.exit(0);
});

api

selenium.ensure

ensure ensures that the selenium.jar and chromedriver files are in the path provided.

If they are not, the latest versions of both are downloaded into that path.

selenium.update

update forces the selenium.jar and chromedriver files to be the latest available versions. Pulls from temp directory if available.

selenium.forceUpdate

forceUpdate forces the selenium.jar and chromedriver files to be the latest available versions. Clears temp directory before checking.

Readme

Keywords

none

Package Sidebar

Install

npm i selenium-download

Weekly Downloads

2,404

Version

2.0.16

License

BSD-3-Clause

Unpacked Size

40.1 kB

Total Files

14

Last publish

Collaborators

  • endangeredmassa
  • jkrems
  • groupon