-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Screenshots timing out #955
Comments
OK! Sorry I let this fall off my radar. #964 reminded me of it—and it turns out this issue and that one are related! It appears to be possible that the There also seems to be an issue where the synchronous call to detach the debugger immediately after the Anyway, I think the solution to both this and #964 is to:
This will probably be easiest if I wait for #945 to be complete, since it’ll be messing around in the same area of the codebase. |
Experiencing the same issue here |
Calling screenshot function multiple times resulted in this problem. Related Issue: #555 |
Bumping this up! Experiencing the same issue as well! Thanks guys! |
bump! same issue |
bump, same issue |
Y'all should probably be bumping #945 since this depends on that. |
@casesandberg would you like to see a PR for this now that #945 is merged, or is this pretty much being left alone now that you are moving towards headless Chrome? |
@Mr0grog I'm running into this issue and I'd love to get the PR :). What's this about headless Chrome? |
The Segment folks are rewriting this library to use Chrome (headless) and not Electron, so the way a lot of stuff like this that heavily depends on the API for controlling the browser will have to be completely different. |
@Mr0grog Oohhh. Are there updates about the switch to Chrome somewhere? |
I think it’s on the v3 branch. I don’t know any details beyond what I’ve already stated, which was what @casesandberg told me in a reply on another issue (lost track of it now). |
Hey folks, we're going to stick with electron for now since puppeteer is already a great option for headless chrome. I'm assuming the merged PR resolved this issue, so I'm going to close. If it's still a problem, please reopen with what's still not working – thanks! |
If the merged PR you are referencing is #945, it does not solve this issue (though it was blocking the solution/the work for this issue). |
@matthewmueller @Mr0grog |
No change from my previous comment—unless the code in |
In a recent Nightmare script, I was consistently getting timeouts occurring and wound up writing #945 to resolve timeouts not cleaning up after themselves properly. This issue is mostly for @Mr0grog so they can debug issues on triggering frames in the said script. I made a minimal example here:
https://gist.github.com/twolfson/b666177b87ae339f3ab2183c2be77690
Things I noticed:
wait(100)
will cause it to start passinggetbootstrap.com
togoogle.com
will cause it to start passingBest of luck on your debugging!
/cc @Mr0grog
The text was updated successfully, but these errors were encountered: