selenium-standalone-painful

installs a `start-selenium` command line to start a standalone selenium server with chrome-driver

npm install selenium-standalone-painful
3 downloads in the last week
8 downloads in the last month

selenium-standalone-painful

Intalls a start-selenium command line starting a selenium standalone server along with the chromedriver.

Currently installs selenium 2.37.0 and chrome driver 2.6.

npm install selenium-standalone-painful -g
start-selenium

Example: launch www.google.com

Using a selenium driver like wd:

npm install wd -g
wd shell
(wd): browser = wd.remote(); browser.init(function(){browser.get('http://www.google.com')})

Programmatic use

var selenium = require('selenium-standalone-painful');
var spawnOptions = { stdio: 'pipe' };
var server = selenium.start(spawnOptions);

server.stdout.on('data', function(output) {
  console.log(output);
});

selenium-standalone versions maps selenium versions.

npm loves you