> ## 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.

# emulateMedia

Emulates various media features like color scheme, contrast, or print media type.
Useful for testing how a page adapts to different user preferences or output formats.
Example: `emulateMedia(options: { media: PRINT })`
Returns true if media emulation was successfully applied.

## Definition

```graphql theme={null}
emulateMedia(
  options: EmulateMediaOptions!
): Boolean!
```

## Arguments

### `options`

[EmulateMediaOptions!](/reference/graphql/inputs/emulate-media-options)

Options specifying the media features to emulate.

## Returns

[Boolean!](/reference/graphql/scalars/boolean)

The `Boolean` scalar type represents `true` or `false`.
