Skip to content

wait_for_page_refresh, "timeout" parameter not taken into account by the wait_for_condition function #22

@samuelguesnier

Description

@samuelguesnier

Hello,
I use the wait_for_condition function , and I pass a different parameter than the default one. It is taken into account by the WebDriverWait function, but not the wait_for_condition one.

Capture

So for example, if I pass "50' parameter like: with self._wait_for_page_refresh(50):
It will raise an error if the page didn't go stale within 50 secs. But it will wait only 10 secs and not 50 secs for document to be ready.

2

Would it be possible to modify the library so the parameter I send to wait_for_page_refresh is taken into account by the both condition ?

Thank you !

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