API Reference / @gtkx/testing / queryAllByText
Function: queryAllByText()
queryAllByText(
container,text,options?):Widget[]
Defined in: packages/testing/dist/queries.d.ts:95
Finds every widget whose rendered text content matches. Widgets that are not mapped are never matched.
Parameters
container
Widget subtree to search.
text
Matcher for the widget text.
options?
Text matching options.
Returns
Widget[]
Every matching widget, or an empty array when none match.