gridTestSession

Get the details of the Selenium Grid node running a session

Usage

1
browser.gridTestSession();

Example

grid.js
1
2
3
4
5
6
7
8
9
10
11
12
it('should get current session information', function () {
var details = browser.gridTestSession();
console.log(details);
// {
// msg: 'slot found !',
// success: true,
// session: '51797b64-43e1-4018-b7fb-f900d80a37a4',
// internalKey: '413741ea-d48e-4346-844b-b1a90a69b3ed',
// inactivityTime: 219,
// proxyId: 'MacMiniA10’
// }
});