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: Fixed main-frame crash #2091

Merged
merged 1 commit into from Apr 24, 2024
Merged

fix: Fixed main-frame crash #2091

merged 1 commit into from Apr 24, 2024

Conversation

icleitoncosta
Copy link
Contributor

@icleitoncosta icleitoncosta commented Mar 5, 2024

The use of setTimeout and delay within Puppeteer causes some crashes, especially the 'Error: Requesting main frame too early!' error. The intention here is to remove these errors. From my point of view, the use of these timeouts is not necessary based on my tests. However, it would be interesting to have an analysis from whoever created them to be sure.
#2052

Setting the timeout to 0 removes the timeout, which also fixes the issue #2064.

@icleitoncosta icleitoncosta merged commit 6177c53 into master Apr 24, 2024
7 checks passed
@icleitoncosta icleitoncosta deleted the crash branch April 24, 2024 12:58
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.

None yet

2 participants