Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
samuelguesnier opened this issue Nov 21, 2019 · 0 comments

Comments

@samuelguesnier
Copy link

samuelguesnier commented Nov 21, 2019

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant