0.0.1 • Published 11 years ago
selenium-sessions v0.0.1
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();
    });
  });
});0.0.1
11 years ago