selenium-standalone-painful

2.39.0-2.7.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i selenium-standalone-painful

Weekly Downloads

2

Version

2.39.0-2.7.0

License

MIT

Last publish

Collaborators

  • bevacqua