lighthouse is running only on mobile view mode as default, how to change to desktop mode? #12660
Unanswered
ShobanMano
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Yep! Use the desktop config. await lighthouse(
APP_URL,
{port: 8042, disableStorageReset: true},
require('lighthouse/lighthouse-core/config/desktop-config.js')
) |
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
-
Problem Statement:
I am using lighthouse and puppeteer for my "Web performance testing" , I could not run my scripts against "Desktop Mode" , as it always running against "Mobile Mode" even browser window size is set to full screen.
Is there any options or flag to enable for desktop mode in code?
Tech details:
Code Snippet:
Beta Was this translation helpful? Give feedback.
All reactions