browser_screenshot
Capture the current browser page as a base64 PNG to confirm navigation, identify bot detection walls, and document security evidence.
Instructions
Take a screenshot of the current page (returns base64-encoded PNG).
PREREQUISITE: browser_open and browser_go must have been called first.
Useful for:
Verifying the page state after navigation (did login succeed?)
Checking for bot detection challenges (Cloudflare, CAPTCHA)
Documenting vulnerability evidence
Visual confirmation before destructive actions
Args: selector: CSS selector to capture a specific element (optional — captures full page if omitted) session_name: Browser session to use (default: "default")
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | No | ||
| selector | No | ||
| session_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |