Skip to content

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

@PavloSI

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions