Skip to content

"wait until page contains element" doesn't find elements located in iframe #62

Description

@PavloSI

quell code:

*** Variables ***
${userFieldLocator}         xpath=//*[@id="username"]
...

*** Test Cases ***
ExampleTestCase
         wait until page contains element         ${userFieldLocator}
...

error:


ValueError: Element locator 'xpath=//*[@id="username"]' did not match any elements.

Element '${userFieldLocator}' is located in iframe

This simple example works with 'SeleniumLibrary'

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