Screenshot a page
domscout_capture_screenshotCapture a rendered webpage screenshot to verify layout, styling, or visual state. Supports viewport, full-page, element, and format options, returning the image directly.
Instructions
Costs 1 credit for a viewport PNG/JPEG/WebP; +1 for fullPage, +1 for PDF. Returns the image itself. Use this when you need to see layout, styling, or a visual state — for reading text, domscout_extract_markdown is cheaper and more useful.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The page to load. Must be http(s) and publicly reachable. Credentials in the URL (https://user:pass@host) are rejected; these tools capture as an anonymous visitor, so use the REST API directly if the page needs authentication. | |
| delay | No | Extra milliseconds to wait after load. | |
| width | No | Viewport width in CSS pixels. | |
| format | No | PDF requires a Pro plan or above. | png |
| height | No | Viewport height in CSS pixels. | |
| quality | No | JPEG/WebP quality. | |
| fullPage | No | Capture the whole scrollable page. Requires Pro or above. Adds 1 credit. | |
| selector | No | Capture only this element. | |
| devicePreset | No | Preset viewport and device characteristics. Overrides width/height when set. | |
| hideSelectors | No | Elements to hide before capturing, e.g. cookie banners. | |
| waitForSelector | No | Wait for this CSS selector to appear before capturing. |