take_screenshot
Capture PNG screenshots of the current page. Use fullPage to capture the entire page, or keep default for the visible viewport.
Instructions
Take a PNG screenshot of the current page. By default captures the visible viewport; with fullPage=true, uses CDP Page.getLayoutMetrics and Page.captureScreenshot to capture the full page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Optional page/tab ID to use | |
| fullPage | No | When true, capture the full page using CDP Page.captureScreenshot; when false or omitted, capture the visible viewport. |