Skip to content

Lighthouse user-flow with puppeteer not working #14952

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

You must be logged in to vote

The flow.navigate method is waiting for a page navigation, but it never sees one because the page.click command does not actually initiate a real page navigation. The page is doing a "soft navigation" instead which cannot be tested with navigation mode. To audit a soft navigation right now, you need to use Lighthouse timespan mode.

We plan on adding support for auditing soft navigations in the future (#14573), but the Chrome tooling behind it is still experimental. If you're interested in being a trailblazer, you can also check out https://github.com/adamraine/lighthouse-plugin-soft-navigation.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kerstin97
Comment options

Answer selected by kerstin97
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants