> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Capture Screenshot

> Captures screenshots of web pages and websites for visual documentation

Captures screenshots of web pages and websites for visual documentation. Returns the screenshot image URL.

|                      |                          |
| -------------------- | ------------------------ |
| **App**              | Web                      |
| **Operation ID**     | `web_capture_screenshot` |
| **Type**             | Action                   |
| **Connection**       | None                     |
| **Credits per run**  | 3                        |
| **Agent / MCP tool** | Yes                      |

## Inputs

| Field               | Type    | Required | Default | Description                                              |
| ------------------- | ------- | -------- | ------- | -------------------------------------------------------- |
| `url`               | string  | Yes      | -       | Target URL to capture                                    |
| `viewport_width`    | integer | No       | `1280`  | Viewport width in pixels                                 |
| `viewport_height`   | integer | No       | `800`   | Viewport height in pixels                                |
| `wait_time`         | integer | No       | `30`    | Maximum seconds to wait for page/selector (1–60)         |
| `wait_for_selector` | string  | No       | -       | CSS selector to wait for before capturing                |
| `loading_selector`  | string  | No       | -       | CSS selector of loading elements to wait until invisible |
| `full_page`         | boolean | No       | `False` | Capture full page instead of viewport                    |
| `hide_scrollbars`   | boolean | No       | `True`  | Hide scrollbars in screenshot                            |

## Output

**Type**: `str`

Returns screenshot image URL.
