operasoftware / operaprestodriver

OperaPrestoDriver is a vendor-supported WebDriver implementation that enables programmatic automation of Presto-based Opera products (i.e. v12 and older).
http://code.google.com/p/selenium/wiki/OperaDriver
Apache License 2.0
149 stars 65 forks source link

Race Condition #62

Closed semperos closed 12 years ago

semperos commented 12 years ago

I'm using the Java API with Selenium-WebDriver 2 to test against Opera. My setup:

When I find a link using XPath, click on it, and then check the current URL of the driver, I get different results. By default, I get the URL of the driver before I clicked on the link. If I add a Thread sleep call in my code (e.g., for 1000 milliseconds), then OperaDriver returns the correct URL of the page after the link is clicked.

I have not seen this issue with Firefox or Chrome drivers.

andreastt commented 12 years ago

Do you have a reproducible test case?