Capture Screenshot
screenshotCapture a viewport, full page, or element screenshot to provide visual evidence for bug reports or create before/after pairs for comparison.
Instructions
Capture a screenshot — full viewport, full page, or one element.
Use this whenever something looks visually off and you want evidence for a record_bug call, or when you want a before/after pair to feed into screenshot_diff.
Args:
name: Filename label (no extension).
element: Optional element description (same syntax as click_what).
If given, crops the screenshot to that element's bounds.
Use for visual hierarchy / truncation / contrast checks.
full_page: If True, capture the entire scrollable page rather
than just the viewport. Ignored when element is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | screenshot | |
| element | No | ||
| full_page | No |