Oy, modern developers want things packaged so nicely for them. I’ve become one of them over the last few years.
Which is why I was surprised to see that Selenium Grid, which has a bunch of other API calls, doesn’t just have a simple one which will list all of the browsers currently running on it and their status. Especially surprising because somebody went to the trouble of building a whole web interface which you can access at http://GRID_HOST/grid/console.
Was about to write a package to parse the frickin’ HTML out of that web interface, but then found that somebody already did it.
Check out https://github.com/davglass/selenium-grid-status on Github.