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