-
i entered th pc url but it redirects to mobile URL. TT.
|
Beta Was this translation helpful? Give feedback.
Answered by
adamraine
Jan 18, 2022
Replies: 1 comment 2 replies
-
Doing const config = require('lighthouse/lighthouse-core/config/desktop-config.js');
const flow = await startFlow(page, {config, name: 'open google'}); |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
ipadorusa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Doing
flow.navigate
will use the default Lighthouse viewport settings (Moto G4) regardless of the viewport you set with puppeteer beforehand. You can use the desktop viewport by using the Lighthouse desktop config: