Get full page content including iFrames (for node version) #13108
Unanswered
adnan-ahmed
asked this question in
Q&A
Replies: 1 comment
-
I don't think this is currently possible. We do have an artifact for iframe elements, but it doesn't contain the iframe contents. You could look at modifying the code yourself though: lighthouse/lighthouse-core/gather/gatherers/iframe-elements.js Lines 19 to 35 in b83573b |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I understand that we can get page content from the artifacts.json after running lighthouse (artifacts.json[MainDocumentContent]). However, I was wondering if there's a way to dump the HTML content from the iframes as well in the website. If not, anyone please point me to how I could implement it?
best
Beta Was this translation helpful? Give feedback.
All reactions