capture_flow
Drive a multi-step user flow against a single persistent page, screenshot each step, and verify state transitions with automated interactions and API call tracking.
Instructions
Drive a multi-step user flow against a SINGLE persistent page and screenshot each step. Each step can navigate (component/route/url) and/or run interactions (click, fill, select, press, check, hover, waitFor) — so you can log in, fill a form, submit, and verify the next screen as one flow. State (cookies, form values, SPA route) carries across steps. Each step reports the API calls it triggered ({method, path, status}) so you can confirm a click actually fired its mutation. Aggregates diagnostics into a single pass/fail; on a failed action it screenshots the broken state and stops. Requires the dev server to be running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | Ordered list of steps. A step must have a navigation target and/or actions. | |
| public | No | Skip the configured login pre-step for the whole flow — use for flows that stay on public routes so a broken/missing credential can't block them (default false). | |
| settleMs | No | Default extra ms to wait after each step before screenshotting (per-step settleMs overrides). |