Skip to content

WaitForElement -functions do not apply timeout on element lookup #626

@jluukka-ge

Description

@jluukka-ge

The timeout- and pollFreq- parameters apply only for the assert function after the element has been found from the DOM. Due to this, the driver will loop indefinitely until the element is found. This will cause trouble when the intention is to check that an element does not exist on the DOM or when an element never appear on the DOM.

Is there a way to override httpOpts or otherwise set the timeout for individual jsonWire calls? Is there another method for checking the non-existence of matching elements on the DOM?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions