Skip to content

API Reference / @gtkx/testing / getAllByRole

Variable: getAllByRole

const getAllByRole: BuiltinQueries["getAllByRole"]

Defined in: packages/testing/dist/queries.d.ts:16

Returns every mapped widget with a matching accessible role and options. Widgets that are not mapped are never matched. Throws when none match.

Released under the MPL-2.0 License.