Selenium grid - api for listing all available nodes

Is there an available API method for listing and retrieving information for all registered sites for the Selenium Hub.

I can use / grid / api / proxyid = nodeurl: 5555 to get information about specific nodes, but cannot find a way to list all available nodes.

I saw the function in the original "getAllProxies", but I don’t see the api implementation of this.

Any help would be appreciated.

+4
source share
2 answers

There is an open ticket. At the same time, you can create and create your own servlet. I did this to provide a custom version of this API for monitoring node in Mogotest.

+4
source

You can create your own Selenium method that checks

http://localhost:4444/grid/console 

and lists all nodes and possible sessions

It shouldn't be that hard

0
source

All Articles