sarmisen / selenium-vba

Automatically exported from code.google.com/p/selenium-vba
0 stars 0 forks source link

Http request for webdriver timeout #112

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Operating system :
.Net Framework version :
Office Version :
SeleniumWrapper version :

What is your issue ?

I get the error: The HTTP request to the remote WebDriver server .... timed out 
after 60 seconds when the browser hangs for long time. I need to increase this 
default timeot. Tried setimplicittimeot and settimeout methods of webdriver 
class. But they do not affect this 60 seconds timeout.

Original issue reported on code.google.com by alm...@gmail.com on 31 Oct 2014 at 6:54

GoogleCodeExporter commented 9 years ago
Which method is throwing the timeout error?

Original comment by florentbr on 1 Nov 2014 at 10:23

GoogleCodeExporter commented 9 years ago
For example. If I run this code:
Set driver = CreateObject("SeleniumWrapper.WebDriver")
driver.start "firefox", "http://google.com"
driver.setImplicitWait 90000
driver.get "/"
driver.findElementById("blabla").clear

I expect it to timeout after 90 seconds with an error that element "blabla" can 
not be found. But instead it timeouts after 60 seconds with an error:
WebDriver: The HTTP request to the remote WebDriver server for URL 
http://localhost:9056/hub/session/482048e2-92a4-4364-a7cc-d7559c39c23b/element 
timed out after 60 seconds.

How can I make it to timeout in 90 seconds?

Original comment by alm...@gmail.com on 1 Nov 2014 at 11:54