Skip to content

@gtkx/testing / findAllByText

Function: findAllByText()

findAllByText(container, text, options?): Promise<Widget[]>

Defined in: queries.ts:457

Finds all elements matching visible text content.

Parameters

ParameterTypeDescription
containerContainerThe container to search within
textTextMatchText to match (string, RegExp, or custom matcher)
options?TextMatchOptionsQuery options including normalization and timeout

Returns

Promise<Widget[]>

Promise resolving to array of matching widgets