Skip to content
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

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


Copy link

@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:

$("form").artist = 3

@geb-bot geb-bot added the Bug label Apr 12, 2015
@erdi erdi added this to the 1.0 milestone Aug 20, 2015
Copy link

@erdi 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
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants