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