selenium-standalone-painful
v2.39.0-2.7.0
Published
installs a `start-selenium` command line to start a standalone selenium server with chrome-driver
Downloads
6
Readme
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.