I have a selenium test that performs a repeated set of actions on an application, to test exactly what happens when the same thing is done many many times. This is done with an infinite loop, because I don't actually need a pass/fail, I just need to see if it's still there in 2/4/8/24/48 hours. The problem I'm having is that something causes my browser to die during the night.
Driver info: driver.version: RemoteWebDriver
[junit] at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:493)
[junit] at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:244)
[junit] at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:77)
[junit] at wl12cStartServers.<method1>(<testname>.java:66)
[junit] at wl12cStartServers.<method2>(<testname>.java:34)
[junit] Caused by: java.net.SocketTimeoutException: Read timed out
This is the same error as would appear if i were to kill the browser window started by selenium, But I have no idea what is causing it to die in this instance.. I have seen the script run for several hours when I'm watching it..