Screenshot
surfsky_screenshotCapture the active tab as a viewport JPEG or full-page/element PNG to check visual states like layouts, charts, or challenge pages when the snapshot misses key details.
Instructions
Capture the active tab as an image you can see: the viewport as JPEG by default, or PNG for the full page or one element (selector). Use it to check a visual state, such as a challenge page, a layout or a chart, or to find something the snapshot does not list; for reading text, surfsky_read is cheaper and exact. A full-page capture of a long page is large.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | A CSS selector, @N from the latest snapshot of this tab, or text=words (the first visible element whose name contains the words). XPath is not accepted. | |
| full_page | No | Capture the whole scrollable page as PNG instead of the viewport. | |
| session_id | No | Session from surfsky_session_start. Omit for the shared default session, started on first use. |