Replies: 1 comment 9 replies
-
So you want Lighthouse to output the console messages when you run programmatically using our node API? Is my understanding correct? If that is the case you can use the import lighthouse from 'lighthouse';
lighthouse('https://example.com', {logLevel: 'info'}) |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I would like to have an output that shows the lighthouse in the console. Please note that I launch the lighthouse programmatically, not from the console. If from the console, then I know how to redirect to a file.
lighthouse https://example.com --output html --output-path ./report.html -GA
But I just can’t find a method that will return me a formatted output in this style.
-GA options do not make such an output.
I see in the timing array object. But Lighthouse processes format it somehow additionally.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions