> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Type Alias: Screen\<Q _extends_ [`Queries`](/next/api/react/testing-library/Interfaces/Queries.md) = _typeof_ [`queries`](/next/api/react/testing-library/Namespaces/queries.md)>

> **Screen**\<`Q` _extends_ [`Queries`](/next/api/react/testing-library/Interfaces/Queries.md) = _typeof_ [`queries`](/next/api/react/testing-library/Namespaces/queries.md)> = [`BoundFunctions`](/next/api/react/testing-library/Type_Aliases/BoundFunctions.md)\<`Q`> & `object`

## Type Declaration

### debug

> **debug**: (`element?`: (`Element` | `HTMLDocument`)\[] | `Element` | `HTMLDocument`, `maxLength?`: `number`, `options?`: [`OptionsReceived`](/next/api/react/testing-library/Type_Aliases/prettyFormat.OptionsReceived.md)) => `void`

Convenience function for `pretty-dom` which also allows an array
of elements

#### Parameters

| Parameter    | Type                                                                                              |
| ------------ | ------------------------------------------------------------------------------------------------- |
| `element?`   | (`Element` \| `HTMLDocument`)\[] \| `Element` \| `HTMLDocument`                                   |
| `maxLength?` | `number`                                                                                          |
| `options?`   | [`OptionsReceived`](/next/api/react/testing-library/Type_Aliases/prettyFormat.OptionsReceived.md) |

#### Returns

`void`

### logTestingPlaygroundURL

> **logTestingPlaygroundURL**: (`element?`: `Element` | `HTMLDocument`) => `string`

Convenience function for `Testing Playground` which logs and returns the URL that
can be opened in a browser

#### Parameters

| Parameter  | Type                        |
| ---------- | --------------------------- |
| `element?` | `Element` \| `HTMLDocument` |

#### Returns

`string`

## Type Parameters

| Type Parameter                                                                   | Default type                                                                |
| -------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| `Q` _extends_ [`Queries`](/next/api/react/testing-library/Interfaces/Queries.md) | _typeof_ [`queries`](/next/api/react/testing-library/Namespaces/queries.md) |
