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

fix: 支持从外部设置Page的超时时间timeout #108

Merged
merged 1 commit into from
Feb 10, 2023

Conversation

ZiuChen
Copy link
Contributor

@ZiuChen ZiuChen commented Feb 9, 2023

  • puppeteer 默认超时时间为 30s
  • 网络环境较差时 访问超时时间过短
  • 出现访问超时报错: TimeoutError: Navigation timeout of 30000 ms exceeded
  • Page未提供统一设置options的方法 通过setDefaultTimeout设置超时时间

- puppeteer 默认超时时间为 30s
- 网络环境较差时 访问超时时间过短
- 出现访问超时报错: `TimeoutError: Navigation timeout of 30000 ms exceeded`
- Page未提供统一设置options的方法 通过`setDefaultTimeout`设置超时时间
@iDerekLi iDerekLi merged commit 3a59e38 into iDerekLi:dev Feb 10, 2023
@ZiuChen ZiuChen deleted the fork branch February 11, 2023 07:17
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

Successfully merging this pull request may close these issues.

2 participants