chrome_screenshot
Capture the current page as a PNG screenshot using a Chrome session ID. Optionally save to a specified path.
Instructions
Capture a screenshot of the active page in a Chrome CDP session.
Args: session_id: Session returned by chrome_open_session output_path: Optional file path for output PNG
Returns: Saved path or error message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |