Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
metadata | object | No | Metadata to attach to the screenshot for identification in results |
wait_time | number | No | Maximum time (ms) to wait for the element. Default: 15000 |
margin | number | No | Viewport fraction from 0 to 1 used to deduplicate overlap during full-page scrolling. Default: 0.1 |
max_scrolls | number | No | Maximum number of scrolls for full-page capture |
wait_after_scroll | number | No | Time to wait after each scroll (ms) |
Examples
Capture a screenshot with metadata for identification in results:Notes
- Screenshots are stored and can be accessed in the run results
- Use
marginto remove a fraction of the viewport during stitched full-page screenshots. For example,0.1removes 10% overlap and can help avoid duplicate sticky headers.

