browser_take_screenshot
Capture a screenshot of the current page or a specific element on it. Supports full-page capture and custom file naming.
Instructions
Take a screenshot of the current page or element.
Args:
full_page: When true, takes a screenshot of the full scrollable page.
Cannot be used with element screenshots.
filename: File name to save the screenshot to. Defaults to
'page-{timestamp}.{png|jpeg}' if not specified.
element: Human-readable element description (optional)
ref: Exact target element reference for element screenshot (optional)
type: Image format for the screenshot (png or jpeg). Defaults to png.
Returns:
Path to the saved screenshot
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full_page | No | ||
| filename | No | ||
| element | No | ||
| ref | No | ||
| type | No | png |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |