Skip to content

WebDriver handle_is* function should search by element_id #9709

Closed

Description

@dlrobertson

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.

Activity

  1. dlrobertson commented on Feb 20, 2016

    @dlrobertson
    ContributorAuthor

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

  2. dlrobertson commented on Feb 20, 2016

    @dlrobertson
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions