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
Error: Attempted to use detached Frame #12294
Comments
This issue has an outdated Puppeteer version: |
I am not able to reproduce using the script. Could you provide a non-password protected reproducible example? |
Tried with my LinkedIn account and it does not reproduce as well. Could you provide a CDP log as described here https://pptr.dev/guides/debugging#log-devtools-protocol-traffic ? Make sure to remove your passwords from the log or other personal information. |
So it's working perfectly? |
I'll try it out |
@JayKaku yeah, I had to adjust selectors because the linkedin page accessible to me had a different layout but yeah it logged in, went to the feed and there were no errors |
so this is where the error comes for me login and feed is all good, I might've missed to mention this |
scraper_log.txt |
This log filtered out all CDP messages, we would need one with protocol messages, e.g., env DEBUG="puppeteer:*" |
@OrKoN here, is this the one? |
Thanks! I can see that there is a message in
Which indicates that the renderer page has crashed. Can you try to reproduce using the latest version of Puppeteer 22.6.5? |
Just tried it out same error persists in the latest version as well |
@JayKaku could you try with the latest Canary build of Chrome? |
I have the same error! on version 22.6.5 and Latest build of Chrome. |
Canary builds looks a little more unstable, |
@JayKaku could you test without the |
When running with Canary, re-use the same userDataDir and enable crash reporting at chrome://crashes/ after a crash you can restart the browser, and get the crash ID from chrome://crashes Share the crash ID so that we could get more details about why the browser crashes. |
Let me try this out and get back |
Minimal, reproducible example
Error string
Error: Attempted to use detached Frame '17600A3A4D0A80CA2CEBA03B03BD7DFB'
Bug behavior
Background
No response
Expectation
Scrapping the element directly
Reality
Error: Attempted to use detached Frame '17600A3A4D0A80CA2CEBA03B03BD7DFB'
Puppeteer configuration file (if used)
No response
Puppeteer version
22.6.4
Node version
20.12.2
Package manager
npm
Package manager version
10.5.2
Operating system
Windows
The text was updated successfully, but these errors were encountered: