Returns a list of the currently active sessions.

Usage

.sessions(callback)

Parameters

Name Type description
callback function

Callback function which is called with the result value.

Example

 this.demoTest = function (browser) {
   browser.sessions(function(result) {
     console.log(result.value);
   });
}