screenshot
Capture a screenshot of any web page using a real browser, with consent overlays hidden. Returns base64 image data, respects robots.txt, and allows custom viewport and full-page capture.
Instructions
Take a screenshot of a web page rendered in a real browser and return it as base64 image data (png by default, jpeg optional), with the final url and pixel size. Consent overlays are hidden so the shot shows the page. Respects robots.txt. Pass api_key if you have a pagewatch key, otherwise a free trial key is created for you and returned.
url: the page to capture. api_key: an existing pagewatch bearer token, optional. full_page: capture the entire scrollable page, not just the viewport. width, height: viewport size in pixels. format: png or jpeg. wait_for_selector: css selector to wait for before capturing, optional.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| width | No | ||
| format | No | png | |
| height | No | ||
| api_key | No | ||
| full_page | No | ||
| wait_for_selector | No |