In the course of setting up end-to-end tests for my application, I wanted to dynamically determine how many grid nodes there are, so I can run each test once for each node. Since there is no endpoint exposing that information, I ended up parsing the output of /grid/console. See SeleniumGrid::parseCapabilities in this snippet (needs tests and documentation!).
Would you be interested to include that functionality?
In the course of setting up end-to-end tests for my application, I wanted to dynamically determine how many grid nodes there are, so I can run each test once for each node. Since there is no endpoint exposing that information, I ended up parsing the output of
/grid/console. SeeSeleniumGrid::parseCapabilitiesin this snippet (needs tests and documentation!).Would you be interested to include that functionality?