Skip to content

Add timeout for browsingContext.locateNodes #1055

@jimevans

Description

@jimevans

In the WebDriver Classic spec, there is an "implicit wait" timeout for finding elements. When locating nodes in WebDriver BiDi, there is no mechanism to make a single call, and have it retry until success or a timeout. For better or for worse, users prefer the command behavior of "call once from the local end, don't return from the remote end until you get a result or reach a timeout." To enable this, we should update the command to continue searching for nodes until at least one matching node is found or the timeout is reached.

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