Skip to content

Expected behaviour for waitForLocation not met #121

@ch-ruetgers-RMH

Description

@ch-ruetgers-RMH

I open a page which initiates a redirect chain through multiple transition pages across multiple domains (a typical SSO Login)

after an open | url I add a waitForLocation | anotherUrl | 100000

My expectation is, waitForLocation waits up to 100.000 milliseconds and check any document.location() if the condition is met. If yes, it immediately steps to the next command. In case the timeout is exceeded, the test-script stops.

But instead, waitForLocation seem to wait only for the next document.location, verifies if the condition meets this location and stops the script on the first redirect.

Is this an error or do I expect to much from waitForLocation. In the latter case, what is your suggested solution to fullfil my expectation?

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