Skip to content

Instantly share code, notes, and snippets.

@jbpros
Created October 18, 2013 16:22
Show Gist options
  • Save jbpros/7044011 to your computer and use it in GitHub Desktop.
Save jbpros/7044011 to your computer and use it in GitHub Desktop.
var webdriver = require("selenium-webdriver");
var launchSelenium = require("selenium-launcher");
var selenium;
launchSelenium(function (err, _selenium) {
selenium = _selenium;
process.on('exit', function () {
selenium.kill();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment