Open a story
open_storyLoad a Storybook story by ID in a headless browser and start capturing all custom events it dispatches, clearing old captures and returning the cursor before interactions.
Instructions
Load a story by id in a real (headless) browser and start capturing every custom event it dispatches, including any dispatched while the story itself is rendering (e.g. from connectedCallback). Clears any previously captured events, and reports the sinceSeq cursor to use from here on. Call this before click, dispatch_event, or get_events.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| storyId | Yes | A story id from list_stories, e.g. 'demo--buttons'. |