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

options.waitFor freezes crawling/rendering #559

Open
alexanderhorner opened this issue Jul 4, 2022 · 0 comments
Open

options.waitFor freezes crawling/rendering #559

alexanderhorner opened this issue Jul 4, 2022 · 0 comments

Comments

@alexanderhorner
Copy link

alexanderhorner commented Jul 4, 2022

Bug Report

Current Behavior
When I set "waitFor" to anything above a few milliseconds, crawling will take ages. Maybe because the firebase data fetching takes so long?

Reproducible demo
Link to GitHub repository or codesandbox with a demo of the bug behavior.

npm run serve

Expected behavior/code
It loads my data in the expected time (less than 5 seconds)

Possible Solution
Maybe the headless chrome needs more power?

Edit: Does it wait for network requests to finish or something? Since firebase keeps a connection open to the database and recieves data every ~15 seconds, maybe react-snap thinks its not finished loading?

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