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

page.waitForFunction does not support disable timeout #2200

Closed
vc1 opened this issue Mar 15, 2018 · 2 comments · Fixed by #2252
Closed

page.waitForFunction does not support disable timeout #2200

vc1 opened this issue Mar 15, 2018 · 2 comments · Fixed by #2252

Comments

@vc1
Copy link

vc1 commented Mar 15, 2018

Steps to reproduce

Tell us about your environment:

  • Puppeteer version: 1.1.1

page.goto support disable timeout. The usage of timeout is not the same
Need: pass 0 to disable timeout wait forerve

@yanivefraim
Copy link
Contributor

yanivefraim commented Mar 16, 2018

I'll be happy to take this one (:

@aslushnikov @vc1

@aslushnikov
Copy link
Contributor

@yanivefraim please go ahead!

aslushnikov pushed a commit that referenced this issue Mar 28, 2018
This patch adds support for `timeout: 0` to disable timeout for the following functions:
- `page.waitForFunction`
- `page.waitForXPath`
- `page.waitForSelector`
and their `frame` counterparts.

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

Successfully merging a pull request may close this issue.

3 participants