Viewport resizing to window size #15956
Unanswered
Shivam93937
asked this question in
General
Replies: 2 comments 2 replies
-
The CLI flag const config = {
extends: 'lighthouse:default',
settings: {
screenEmulation: {disabled: true},
},
} Are you using Puppeteer as well? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Do you have any idea how to emulate mobile screen without resizing viewport to window size? |
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
-
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
Beta Was this translation helpful? Give feedback.
All reactions