-
Hello!! First of all I would like to thank all the people that is part of this project. You guys are doing an awesome job. I am rather new to lighthouse, so I apologise for my ignorance. I am using lighthouse from the Windows PowerShell with the command
I need to modify the HTML report that the tool generates and attach a screenshot of the webpage and the URL of the website at the top of the report. Is that possible? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
It's definitely possible, you just need to modify the HTML report manually to add the picture you want. There are some screenshots used in the timeline view under performance if that helps. |
Beta Was this translation helpful? Give feedback.
-
Yes ✅ it’s possible to customize the Lighthouse HTML report and add a screenshot + the website URL at the top. Option 1: Post-process the HTML file (quick hack) Open report.html in a text editor (VS Code). Save → open report.html in browser. Save → open report.html in browser. Option 3: Use --output json and build a custom report 👉 If you just want a one-time simple solution, Option 1 (manual HTML edit) is fastest. |
Beta Was this translation helpful? Give feedback.
It's definitely possible, you just need to modify the HTML report manually to add the picture you want. There are some screenshots used in the timeline view under performance if that helps.