-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
LCP measurement reported without the LCP DOM element #14908
Comments
I was able to reproduce this, but I'm having a hard time debugging because of the "Verify that you are human" screen. It sometimes doesn't believe that I am human (possibly because Lighthouse is controlling Chrome automatically?) |
@adamraine I thought the human check might be an issue here, but it's hard to reproduce, I agree. if I test manually an encounter the confirmation screen, then press the one workaround I thought of would be to pass a cookie during the test to bypass the human check, but I still think Lighthouse fails in an unexpected way here 😅 |
We are getting a "No node with given ID found" error when we try and resolve the node. Not entirely clear why this is happening though since Lighthouse should account for nodes being removed during page load. Next step would be to create a minimum repro, this could be an issue with Chrome. |
hey, are there any updates on this? 🙏🏻 |
I was able to create a repro and filed an upstream bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1445244 |
FAQ
URL
https://www.crunchbase.com/
What happened?
Steps to reproduce
https://www.crunchbase.com/
in Chrome Developer Tools.Screenshots
What did you expect?
When Largest Contentful Paint measurement is available, the LCP element should always be listed (since the measurement is derived based on finding a specific element).
TL:DR; there should never be a case where there's a measurement and no element specified (or the other way around).
What have you tried?
I've ran numerous tests to confirm it's not a one-off behavior. It happens either persistently (every DevTools test) or intermittently, but in a semi-persistent manner. I was also able to reproduce it in Calibre, see this publicly available test 1:
I wasn’t able to reproduce it on PSI (web.dev/measure), perhaps because it runs on newer Lighthouse version (10.0.2), but I'm unable to speculate the reasoning.
How were you running Lighthouse?
Chrome DevTools
Lighthouse Version
Lighthouse 9.6.8
Chrome Version
Version 111.0.5563.64 (Official Build) (arm64)
Node Version
No response
OS
Mac
Relevant log output
No response
Footnotes
You can either look for the
Largest Contentful Paint element
audit, or filter by LCP-related audits. ↩The text was updated successfully, but these errors were encountered: