Limits and troubleshooting

What a soft navigation step cannot measure, and what to do when one fails.

2 min read 2 sections

On this pageLimits

Limits

  • One soft navigation per step. If Chrome reports several, the first is measured and the step gets a run warning.
  • No simulated throttling. See Throttling.
  • No LCP breakdown insight. Other insights cover the whole trace, as in a timespan.
  • A redirect is a page load. A step that changes the URL and then loads a document is measured as a page load.
  • Accessibility alone needs a snapshot. A soft navigation step needs at least one audit that uses the trace.

Troubleshooting

SymptomCause and fix
The first step fails because the click finds no elementNo page is loaded yet. Start the flow with flow.navigate(url); a soft navigation starts from a loaded page.
The step fails with NO_FCPChrome didn't report a soft navigation. The interaction has to be a real input such as page.click, and it has to paint new content. Check that Chrome is 149 or newer.
The metric audits errorThe step ran with simulated throttling. Pass throttlingMethod: 'devtools'.
The step is measured as a page loadThe click loaded a document: a link the router doesn't handle, a reload or a redirect.
Multiple soft navigations warningThe click changed the route more than once. Only the first is measured.
user-flow collect --dryRun failsDry runs don't support navigations that start with a callback or startNavigation yet. Run without --dryRun; see user-flow#355.

All pages

  • Getting started Introduction Introduction What a soft navigation is and what the package adds to Lighthouse user flows.
  • Getting started Usage Usage Install the package, measure a soft navigation step and read its result, with Lighthouse or user-flow.
  • Guides Throttling Throttling Why a soft navigation step needs DevTools or provided throttling, per step or for the whole flow.
  • Guides Limits and troubleshooting Limits and troubleshooting What a soft navigation step cannot measure, and what to do when one fails.