Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

groupon/selenium-download

Repository files navigation

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.

About

allow downloading of latest selenium standalone server and chromedriver

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 10