browser_screenshot
Take a screenshot of a web page or a specific element. Supports full page capture for Chrome, element selection by CSS, and saving to a file.
Instructions
Take a screenshot of the page or a specific element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session ID | |
| save_path | No | File path to save screenshot (optional) | |
| selector | No | Element selector for element screenshot (optional) | |
| by | No | Selector type if selector is provided | css |
| full_page | No | Capture full scrollable page (Chrome only) | |
| filename | No | Custom filename (used with configured screenshot_dir) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |