I'm using Selenium Grid 2.
I have a single hub and 6 nodes. The problem I'm running into is some test fail due to unexpected javascript popups, and selenium doens't seem to be cleaning up these sessions. When the tests finish, there are browsers still open (multiple on each test machine), and there are still IEDriverServer.exe processes running.
This is the hub.json file I'm using:
{
"host": null,
"port": 4444,
"newSessionWaitTimeout": -1,
"servlets" : [],
"prioritizer": null,
"capabilityMatcher": "org.openqa.grid.internal.utils.DefaultCapabilityMatcher",
"throwOnCapabilityNotPresent": true,
"nodePolling": 5000,
"cleanUpCycle": 5000,
"timeout": 300000,
"browserTimeout": 60000
}
Any additional input is appreciated...
FYI, I do have a finally block in my framework that the last thing it does is
driver.Dispose();