Skip to content
This repository has been archived by the owner on Oct 20, 2020. It is now read-only.

allow downloading of latest selenium standalone server and chromedriver

License

Notifications You must be signed in to change notification settings

mobify/selenium-download

 
 

Repository files navigation

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.

About

allow downloading of latest selenium standalone server and chromedriver

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%