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

# screenshot

Captures a screenshot of the element.
Returns a Download object containing the URL or Base64 data of the screenshot image.
Example: `screenshot(options: { type: PNG, omitBackground: true })`

## Definition

```graphql theme={null}
screenshot(
  options: ScreenshotOptions
): Download
```

## Arguments

### `options`

[ScreenshotOptions](/reference/graphql/inputs/screenshot-options)

Options to configure the screenshot, such as image type, quality, or clipping. See `ScreenshotOptions`.

## Returns

[Download](/reference/graphql/objects/download)

Represents a downloadable resource, typically a file generated by an action (e.g., PDF or screenshot).
It may contain a URL to the resource or the resource data directly encoded as a Base64 string.

## Usage

This field is available on the [Page](/reference/graphql/objects/page) object. Use it to query page information and content.
