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

WebDriver handle_is* function should search by element_id #9709

Closed
dlrobertson opened this issue Feb 20, 2016 · 2 comments
Closed

WebDriver handle_is* function should search by element_id #9709

dlrobertson opened this issue Feb 20, 2016 · 2 comments
Labels

Comments

@dlrobertson
Copy link
Contributor

@dlrobertson dlrobertson commented Feb 20, 2016

The functions handle_is_enabled for Element Is Enabled and handle_is_selected for Element Is Selected currently attempt to find the element with find_node_by_unique_id. The element_id is not the unique_id so they will yield an "stale element reference" error.

@dlrobertson
Copy link
Contributor Author

@dlrobertson dlrobertson commented Feb 20, 2016

I confirmed this by using find_element_by_element_id, in which case the expected result is returned.

@jdm jdm added the A-webdriver label Feb 20, 2016
@dlrobertson
Copy link
Contributor Author

@dlrobertson dlrobertson commented Feb 20, 2016

I think the argument names got the best of me 😄 I actually may be wrong... See Step 3 && UUID.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.