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