Hi there. Our automation team has been using your product for a few
months now, and we like it so far. I'm running into a problem though
in your FirefoxDriver with Firefox 3.0. I have a method that
compensates for popup windows, via the getWindowHandles() method. It
can interact with the popup just fine, but after the window closes and
we are back on the base window, it throws this error trying to call
driver.getWindowHandles():
org.openqa.selenium.WebDriverException: Expected response to
getAllWindowHandles but actually got: selectElementById
(selectElementById)
The stack trace is:
Caused by: org.openqa.selenium.WebDriverException: Expected response
to getAllWindowHandles but actually got: selectElementById
(selectElementById)
System info:
os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1',
java.version: '1.6.0_13'
Driver info: driver.version: firefox
at
org.openqa.selenium.firefox.internal.AbstractExtensionConnection.readLoop
(AbstractExtensionConnection.java:204)
at
org.openqa.selenium.firefox.internal.AbstractExtensionConnection.waitForResponseFor
(AbstractExtensionConnection.java:193)
at
org.openqa.selenium.firefox.internal.AbstractExtensionConnection.sendMessageAndWaitForResponse
(AbstractExtensionConnection.java:161)
at org.openqa.selenium.firefox.FirefoxDriver.sendMessage
(FirefoxDriver.java:258)
at org.openqa.selenium.firefox.FirefoxDriver.sendMessage
(FirefoxDriver.java:254)
at org.openqa.selenium.firefox.FirefoxDriver.getWindowHandles
(FirefoxDriver.java:278)
at
com.authoria.automation.base.AuthoriaWebDriverFacade.getWindowHandles
(AuthoriaWebDriverFacade.java:111)
I was wondering if you had any insight into this, and whether this was
a known issue or not. I'll be happy to provide you any information I
can assist with.
Thanks.
-Matthew