options.waitFor freezes crawling/rendering
alexanderhorner opened this issue · 0 comments
alexanderhorner commented
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?