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 -gstart-selenium
www.google.com
Example: launchUsing a selenium driver like wd:
npm install wd -gwd shell: browser =
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.