Skip to main content

Function: queryAllByLabelText()

queryAllByLabelText(container, text, options?): Widget[]

Defined in: queries.ts:153

Finds all elements matching label text without throwing.

Parameters

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

Returns

Widget[]

Array of matching widgets (empty if none found)