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