Draft a storyboard from a Playwright trace or test
import_traceConvert a Playwright trace or test file into a draft storyboard, using recorded actions as scenes and placeholders for narration, ready for you to write the script.
Instructions
Turn a Playwright trace.zip (context.tracing / --trace on) or a *.spec.ts test file into demos// with a draft storyboard: the run's own actions and selectors become scenes (cut at navigations and async payoffs), narration is left as placeholders, and _notes lists what was approximated. No LLM, no browser. Then write the narration and probe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | repo to scaffold into (default: server cwd) | |
| file | Yes | absolute path to trace.zip or the test file | |
| name | Yes | demo name (creates demos/<name>/) | |
| force | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| steps | Yes | ||
| scenes | Yes | ||
| demoDir | Yes | ||
| storyboardPath | Yes |