Skip to content

How to disable mobile emulation for startFlow? #13320

Answered by adamraine
hasangenc0 asked this question in Q&A
Discussion options

You must be logged in to vote

You should use the desktop config:

const config = require('lighthouse/lighthouse-core/config/desktop-config.js');
const flow = await startFlow(page, {config, name: 'open google'});

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hasangenc0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #13318 on November 04, 2021 15:47.