Stream closing Selenium Webdriver
I'm doing a test that iterates between various groups of individuals and verifying that a specific message appears for each group.. On the first run for the first group the script runs okay and verifies the existence of the message and a few check boxes that appear on that screen but on subsequent runs the script runs to the last page but only verifies the messages only.. I get a message that the "stream close"
so am not able to verify the check-boxes on subsequent runs.. How do i stop this from happening? I'm working on IE
I think most remote grid implementations will have about a 30 second timeout between commands. To get around it, when I do long processes such as waiting around for emails to arrive. I'll put my webdriver inside a standby wrapper that periodically polls the webdriver on another thread to keep it alive.
Originally Posted by kevin3
Here's my implementation of one in Python. https://github.com/wiredrive/wtframe..._utils.py#L224
Just create something similar in what ever language you're using.