Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A library to download and launch the Selenium Server.
branch: master
Failed to load latest commit information.
lib Update to selenium 2.44
test whitespace fixes
.gitignore initial commit
.npmignore remove accidental bundling of selenium jar
.travis.yml bump nodejs version
package.json version bump
readme.md fix example in readme, fixes #6

readme.md

selenium-launcher Build Status

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()
})

Forcing selenium server version

You can override the selenium server version used by the launcer via the environment variable

SELENIUM_VERSION=2.32.0:c94e6d5392b687d3a141a35f5a489f50f01bef6a 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

Testing

npm test
Something went wrong with that request. Please try again.