API Reference / @gtkx/testing / queryByRole
Variable: queryByRole
constqueryByRole:BuiltinQueries["queryByRole"]
Defined in: queries.d.ts:75
Returns the single widget with a matching accessible role and options, or null when none match. Throws when more than one matches.