# screen

Source: /tuil/docs/reference/packages/testing-ink/api/screen
Locale: en

constant exported by @mwillbanks/tuil-testing-ink.



{/* Generated by tooling/docs/generate-reference.ts. */}

## constant [#constant]

Public constant exported by `@mwillbanks/tuil-testing-ink`.

```ts
export const screen: { frame: () => string; getByRole: (role: import("@mwillbanks/tuil-core").SemanticRole, query?: import("@mwillbanks/tuil-testing").SemanticQuery | undefined) => import("@mwillbanks/tuil-testing").QueryableSemanticNode; getAllByRole: (role: import("@mwillbanks/tuil-core").SemanticRole, query?: import("@mwillbanks/tuil-testing").SemanticQuery | undefined) => readonly import("@mwillbanks/tuil-testing").QueryableSemanticNode[]; getByLabelText: (label: string | RegExp) => import("@mwillbanks/tuil-testing").QueryableSemanticNode; getByText: (text: string | RegExp) => import("@mwillbanks/tuil-testing").QueryableSemanticNode; getByTestId: (testId: string) => import("@mwillbanks/tuil-testing").QueryableSemanticNode; };
```

## Members [#members]

This declaration has no public members.

## Parameters [#parameters]

This declaration has no public members.

## Returns [#returns]

This declaration does not return a value.

## Throws [#throws]

No thrown errors are documented for this declaration.

## Related types [#related-types]

No package-local related types.

## Source [#source]

[View the secondary source reference](https://github.com/mwillbanks/tuil/blob/main/packages/testing-ink/src/index.ts)

## Package [#package]

[@mwillbanks/tuil-testing-ink](/tuil/docs/reference/packages/testing-ink)
