API Reference / @gtkx/testing / queryByLabelText
Variable: queryByLabelText
constqueryByLabelText:BuiltinQueries["queryByLabelText"]
Defined in: packages/testing/dist/queries.d.ts:37
Returns the single mapped widget with matching associated label text, or null when none match. Widgets that are not mapped are never matched. Throws when more than one matches.