Skip to main content

Function: findAllByText()

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

Defined in: queries.ts:450

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