Skip to content

API Reference / @gtkx/testing / findAllByRole

Variable: findAllByRole

const findAllByRole: BuiltinQueries["findAllByRole"]

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

Waits for and returns every mapped widget with a matching accessible role and options, retrying until at least one appears or the timeout elapses. Widgets that are not mapped are never matched.

Released under the MPL-2.0 License.