Skip to content

Title Element cannot be used for ID or Wait Element #146

Description

@PanoramicPanda

Due to the both way core_element determines the watir_element and the required arguments of an ID Element, the Title of the HTML page cannot be used.

Watir's call of browser.title just directly returns the title string, with no arguments required. Since ID Elements utilize parent.send(@element_type, @locator_hash) and the title needs no locator, we cannot use it.

Unsure if we'd ever really want to use it as a Wait Element, but can't be used there either due to the same effect.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions