Hi,
got an issue with the IEdriverServer. (latest versions of everything, testing IE 9)
If I click a button or even a static text on the front page of our application, the IE driver thinks the readyState is not complete, and hangs forever, at least if we look at the driver logfile:
D 2013-10-10 10:50:46:358 Browser.cpp(399) Navigate Events Completed.
D 2013-10-10 10:50:46:561 Browser.cpp(438) Waiting for document to complete...
D 2013-10-10 10:50:46:869 Browser.cpp(460) readyState is not complete.
...
Also doing switchTo() to the same window makes the log produce the same results and the automation seems to hang on the readyState check.
If I use the "Action" - method it works fine to click, but that might be just because of no check of the readyState after clicking, I don't know...
If I use javascript to check the document.readyState property it says "complete", only the driver thinks the state is different.
I've also tested setting a small value of the PageLoad-timeout prior to the clicking but that is quite a bad workaround to stop the driver
checking for readyState.
I've attached the click part from the IE driver logs for Action vs Click() where we can see that the click is made at the same physical position, using SendMessage. The difference is the readystate isssue for Click().
Does anyone know what could cause the driver to think the readyState != complete ?
/Magnus