Replies: 1 comment
-
You will need to pass the config as a parameter to const config = {
extends: 'lighthouse:default',
settings: {
onlyCategories: ['performance'],
},
}
const flow = await api.startFlow(page, {config}); |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I'm running automated user flows using the approach as described in the docs
However I'm only interested in the performance part of the report.
How can I use a
custom-config.js
file for the user flows which for example looks like this?module.exports = { extends: 'lighthouse:default', settings: { onlyCategories: [ 'performance' ], }, };
Or is there a different way to customize the report configuration?
Beta Was this translation helpful? Give feedback.
All reactions