Setting the value of a select element if an onChange event causes the page to reload will throw an exception #155
Comments
Happens for radio buttons as well. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally created by Ellery Crane.
If you have javascript onChange event handlers on a select element that change the window.location, using Geb to set the value of the select will throw a org.openqa.selenium.StaleElementReferenceException. Example:
Ima Robot Edward Sharpe and the Magnetic Zeros AlexanderThen, in the test:
when:
$("form").artist = 3
then:
thrown(org.openqa.selenium.StaleElementReferenceException)
The text was updated successfully, but these errors were encountered: