selenium-download
v2.0.16
Published
allow downloading of latest selenium standalone server and chromedriver
Downloads
11,763
Readme
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.