Hello,
maybe someone can help me. I'm using Selenium (2.21) Grid and facing the following problem:
My code is working fine if I execute my tests on my fast computer. The same code/tests do
not work on a slower computer.
In detail: with <code>this.driver = new RemoteWebDriver(url, capability);</code> do I start
my browser for my Grid test. Internet Explorer is working fine on both computers but Firefox
not on my slower computer. It seems that the problem is the longer starting time (~ 11 seconds)
on my slower computer but I'm not sure.
I've got the following exception:
org.openqa.selenium.WebDriverException: Connection reset
Command duration or timeout: 10.88 seconds
Build info: version: '2.21.0', revision: '16552', time: '2012-04-11 19:08:45'
System info:
os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.6.0_31'
Driver info: driver.version: RemoteWebDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
...
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:149)
at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:110)
at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:264)
...
I tried to set the following options for my hub/node (but did not help):
Hub: -browserTimeout 60 -nodeTimeout 600
Node: -browserTimeout 60 -timeout 60
Thanks in advance.
Frank