Skip to content

waygraph / StepScreenshot

Type Alias: StepScreenshot ​

StepScreenshot = true | { fullPage?: boolean; }

Defined in: src/engine/block/block.ts:323

A screenshot of the page once a Block's step is done (act, resolve, verify, its expectations, the page's read): true for what's in view, { fullPage: true } for the whole page. Kept with the run (.waygraph/runs/<runId>/), and as the page's newest look (.waygraph/screenshots/<Checkpoint>.png), which Waygraph Studio shows on its map. In a demo the page is taken as it is, overlay and all (hiding it would make it blink), and doesn't replace the page's look on the map.

waygraph 0.18.3 (alpha) · Node 24+ · peer @playwright/test ^1.40.0 · syntax may change before 1.0: see what was removed