New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting the value of a select element if an onChange event causes the page to reload will throw an exception #155

Closed
geb-bot opened this Issue Dec 12, 2011 · 1 comment

Comments

Projects
None yet
2 participants
@geb-bot

geb-bot commented Dec 12, 2011

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 Alexander

Then, in the test:

when:
$("form").artist = 3
then:
thrown(org.openqa.selenium.StaleElementReferenceException)

@geb-bot geb-bot added the Bug label Apr 12, 2015

@erdi erdi added this to the 1.0 milestone Aug 20, 2015

@erdi

This comment has been minimized.

Member

erdi commented Nov 26, 2015

Happens for radio buttons as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment