getGridNodeDetails

Get the details of the Selenium Grid node running a session

Usage

1
browser.getGridNodeDetails();

Example

grid.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
it('should return grid information', function () {
console.log(browser.getGridNodeDetails())
// {
// success: true,
// msg: "proxy found !",
// id: "MacMiniA10",
// request: {
// ...
// configuration: {
// ...
// },
// capabilities: [
// {
// ...
// }
// ]
// }
// }
})

Uses