Adjust Lighthouse score for nested iframes #16077
Unanswered
BrunoLeSquirrel
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Lighthouse can only audit the main frame. It looks at iframes to see how they affect the experience of the page as a whole but it is not possible to run an audit on an iframe is if it was it's own page.
I'm not sure what you mean by this. Are A/B/C all frames? If so why do you say that you can remove A? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to measure the lighthouse score for a collection of webpages which all feature nested iframes.
Let's imagine it's a stack like A-B-C-some_times_even_D.
Whilst I can remove A I cannot remove B. But I want to measure the times for the various C (and ...D)
Whilst I am interested in how A or B performs, it is really C and D whose performance interests me.
Is it possible to to run lighthouse on the webpages and adjust the input so that contributions from A and B are ignored?
For example, I know the timeOrigin of all A, B, C
Can I tell lighthouse to ignore anything before timeOrigin=C
Is there any such hack supported?
Beta Was this translation helpful? Give feedback.
All reactions