nex_browser_take_screenshot
Capture browser viewport, target element, or clip screenshots and map image pixels to click coordinates for visual inspection and precise interaction.
Instructions
Capture the viewport, one target, or a viewport clip (target, clip and fullPage=true are mutually exclusive). The returned origin and pixelsPerCssPixel map image pixels to nex_browser_mouse_click_xy coordinates. Page CAPTCHA: start with nex_browser_captcha_prepare (free). Do not solve CAPTCHAs with CDP, Python, image matching or scripted drags.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | No | ||
| type | No | ||
| scale | No | ||
| pageId | No | Defaults to the active page | |
| target | No | Snapshot ref (e12) or unique CSS selector | |
| quality | No | ||
| filename | No | ||
| fullPage | No | ||
| sessionId | No | Defaults to the active session |