lighthouse icon indicating copy to clipboard operation
lighthouse copied to clipboard

Lighthouse audit always returns to homepage

Open bassmo opened this issue 8 years ago • 3 comments

Whichever page I set in the browser window, running the lighthouse audit in dev tools always returns to the site homepage. Even though the lighthouse blurb states: "You can run it against any web page, public or requiring authentication." This happens when switching into or out of mobile emulation mode. Chrome version: Version 66.0.3359.139 (Official Build) (64-bit)

bassmo avatar May 10 '18 11:05 bassmo

If the server is redirecting mobile users to the homepage instead of the URL you requested then this is what you would expect. You can try to disable mobile emulation with the dropdown in Chrome Canary

image

patrickhulce avatar May 10 '18 15:05 patrickhulce

Adding pending close as I believe this is a none issue and @patrickhulce answered the question.

wardpeet avatar Aug 20 '18 05:08 wardpeet

This is happening because of useragent emulation. So you'll probably want to change how you handle mobile UAs. or test desktiop

paulirish avatar Aug 27 '18 17:08 paulirish