take_screenshot
Capture a screenshot of the current browser window for debugging or visual analysis. Screenshots are saved to a configurable directory.
Instructions
Capture a screenshot of the current browser window.
Purpose
Useful for debugging, failure reporting, or visual analysis. Screenshots are saved to the directory set by the MCP_SCREENSHOT_DIR environment variable (default: system temp dir).
Parameters
session_id : str Active browser session identifier.
Returns
dict { "session_id": str, screenshot_path: str, "status": str, "message": str }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |