Skip to content

API Reference / @gtkx/testing / ByRoleOptions

Type Alias: ByRoleOptions

ByRoleOptions = MatcherOptions & object

Defined in: types.d.ts:53

Options for role queries: an accessible name matcher plus accessible state and value constraints.

Type Declaration

busy?

optional busy?: boolean

checked?

optional checked?: boolean

description?

optional description?: Matcher

expanded?

optional expanded?: boolean

hidden?

optional hidden?: boolean

When true, include widgets excluded from the accessibility tree.

level?

optional level?: number

Heading or hierarchy level.

name?

optional name?: Matcher

pressed?

optional pressed?: boolean

selected?

optional selected?: boolean

value?

optional value?: ByRoleValue

Released under the MPL-2.0 License.