Function: findByLabelText()
findByLabelText(
container,text,options?):Promise<Widget>
Defined in: queries.ts:267
Waits for and finds a single widget matching the specified label text.
Parameters
| Parameter | Type | Description |
|---|---|---|
container | Container | The container to search within |
text | string | RegExp | The text or pattern to match |
options? | TextMatchOptions | Text matching options (exact, normalizer) |
Returns
Promise<Widget>
Promise resolving to the matching widget