Skip to main content

Function: findAllByLabelText()

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

Defined in: queries.ts:414

Finds all elements matching label or 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