probe
Run a record-only dry run to verify selectors and timing, optionally update or compare against a golden baseline, and get a job ID for status polling.
Instructions
Record-only dry run to verify selectors/timing (narration optional). With updateGolden, writes golden/probe.json (the regression baseline); with golden, deep-compares against it and returns match + field-level diffs. Returns a jobId immediately — poll job_status. Rejects if another job is running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | demo project directory — pass an absolute path | |
| fresh | No | run against a WIPED throwaway profile — use for any demo whose story starts at a first-run gate, onboarding, an empty state or a one-shot flow, since carried-over cookies/localStorage silently record the wrong story. Not for logged-in demos (a fresh profile has no login). | |
| golden | No | compare against golden/probe.json; returns match + diffs (CI guard) | |
| params | No | storyboard template params (name → value); each must be declared in the storyboard's params block. Substitutes {{name}} across all stages. | |
| capture | No | ||
| cookies | No | cookies to seed before the first action (name, value, domain[, path, secure, httpOnly, sameSite, expires]). Also storyboard setup.cookies. | |
| profile | No | Chrome user-data dir (logged-in profile) | |
| headless | No | run Chrome headless (default false — headed, like the CLI) | |
| fromScene | No | resume: keep the previous take's scenes before this scene id (footage + timeline, verified unchanged by hash) and record from it — after a late-scene failure or a change to the tail of the storyboard | |
| storageState | No | absolute path to a Playwright storageState JSON (cookies + per-origin localStorage) to seed into the profile before the first action — for cookie-gated sites. Also available as storyboard setup.storageState. | |
| updateGolden | No | write golden/probe.json from this probe (commit it as the baseline) | |
| profileSeeded | No | the profile is seeded on purpose (login / cookie gate): silence the carried-over-state warning. Implied by storageState/cookies. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| jobId | Yes | ||
| status | Yes | ||
| demoDir | Yes | resolved absolute demo directory | |
| logFile | Yes |