selenium-sessions
v0.0.1
Published
Get sesssions of selenium server with the [WebDriver Wire Protocol](https://code.google.com/p/selenium/wiki/JsonWireProtocol).
Downloads
1
Readme
selenium-sessions
Get sesssions of selenium server with the WebDriver Wire Protocol.
Example
var Sessions = require(‘selenium-sessions’);
var Session = Sessions.Session;
var sessions = new Sessions({
url: "http://localhost:4444/wd/hub"
});
sessions.all(function (err, data) {
data.forEach(function (err, info){
var session = new Session(info.id);
session.get(function (err, info){
session.del();
});
});
});