We're using Selenium's Python bindings at work. Occasionally I forget to put the call to WebDriver.quit() in a finally clause, or the tear down for a test. Something bad happens, an exception is thrown, and the session is abandoned and stuck as "in use" on the grid.
How can I quit those sessions and return them to being available for use without restarting the grid server?
You can restart the node instead of the server.
how do I quit a web driver session after the code has finished executing?