Runtime performance, not just page load
Lighthouse user flows measure navigations, interactions and page states. user-flow organises them so every step shows up in one report.
@push-based/user-flow
A CLI and library to organise and run Lighthouse user flows in a scalable way, with CI automation in place. Measure bootstrap and runtime performance with minimum effort.
# install, set up and run your first flow
npm i @push-based/user-flow --save-dev
npx user-flow init
npx user-flow collectWhy user-flow
Lighthouse user flows measure navigations, interactions and page states. user-flow organises them so every step shows up in one report.
Run init, answer three prompts and write flows in .uf.mts files. They are compiled on the fly, so there is no build step to maintain.
Non-interactive mode, Markdown and stdout reports and a ready-made GitHub action put performance numbers on every pull request.
Skip the measurements while you write interactions. A dry run takes seconds instead of a minute; then switch it off for real numbers.
Export a flow from the Chrome DevTools Recorder and replay it as is, or enrich its steps with timespans and snapshots.
User flow objects separate selectors, interactions and measurements so large suites stay readable and reusable.
Documentation