reactlynx-testing-library / FindByRole

Type Alias: FindByRole()<T>

type FindByRole<T>: (container: HTMLElement, role: ByRoleMatcher, options?: ByRoleOptions, waitForElementOptions?: waitForOptions) => Promise<T>;

Type Parameters

Type ParameterDefault type
T extends HTMLElementHTMLElement

Parameters

ParameterType
containerHTMLElement
roleByRoleMatcher
options?ByRoleOptions
waitForElementOptions?waitForOptions

Returns

Promise<T>

Defined in

index.d.ts:535

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.