GoogleChrome / lighthouse

Automated auditing, performance metrics, and best practices for the web.
https://developer.chrome.com/docs/lighthouse/overview/
Apache License 2.0
28.02k stars 9.32k forks source link

Viewport resizing to window size #15953

Closed Shivam93937 closed 2 months ago

Shivam93937 commented 2 months ago

FAQ

URL

https://google.com

What happened?

When running from CLI, is there an option to by default set the viewport according to the window size because it resizes to cover the window size after certain amount of time.

What did you expect?

I expected that the viewport should automatically be sized to window size.

What have you tried?

I have tried changing the puppeteer launch options, via lighthouse configurations, and screenemulation options.

How were you running Lighthouse?

CLI

Lighthouse Version

11.7.1

Chrome Version

No response

Node Version

20.11.0

OS

Windows

Relevant log output

No response