lighthouse-php icon indicating copy to clipboard operation
lighthouse-php copied to clipboard

Scan desktop or mobile or both

Open TimVividus opened this issue 5 years ago • 2 comments

Using this tool, the scan defaults to mobile. Is there a way to scan a desktop version of the site, or both mobile and desktop? With the Lighthouse cli, you'd do something like lighthouse https://website.com --preset=desktop

TimVividus avatar Jul 27 '21 01:07 TimVividus

See https://github.com/dzava/lighthouse-php/issues/6 for a quick way to run lightouse with the desktop preset.

For more control you could use a custom config, here you can find some examples.

I don't think that it is possible to run both audits at once.

dzava avatar Jul 27 '21 21:07 dzava

Awesome, that's just what I was looking for :D Thanks!

TimVividus avatar Jul 27 '21 21:07 TimVividus