A library to download and launch the Selenium Server.
var seleniumLauncher = require('selenium-launcher')
seleniumLauncher(function(er, selenium) {
// selenium is running
// selenium.host / selenium.port are available
// selenium is a child process, so you can do selenium.kill()
})
You can override the selenium server version used by the launcer via the environment variable
SELENIUM_VERSION=2.39.0:5a8742d5ba1c3d10339541520fead7e7f50712db node app.js
You'll have to supply a valid sha for the version.
A list of selenium-server jar's and their sha can be found on https://code.google.com/p/selenium/downloads/list
npm test