Skip to main content

Function: findAllByRole()

findAllByRole(container, role, options?): Promise<Widget[]>

Defined in: queries.ts:254

Waits for and finds all widgets matching the specified accessible role.

Parameters

ParameterTypeDescription
containerContainerThe container to search within
roleAccessibleRoleThe accessible role to match
options?ByRoleOptionsAdditional filtering options (name, checked, expanded)

Returns

Promise<Widget[]>

Promise resolving to array of matching widgets