2023-07-20 07:36:56 +00:00
|
|
|
---
|
2023-08-02 12:50:46 +00:00
|
|
|
sidebar_label: Locator.waitHandle
|
2023-07-20 07:36:56 +00:00
|
|
|
---
|
|
|
|
|
2023-08-02 12:50:46 +00:00
|
|
|
# Locator.waitHandle() method
|
|
|
|
|
|
|
|
Waits for the locator to get a handle from the page.
|
2023-07-20 07:36:56 +00:00
|
|
|
|
|
|
|
#### Signature:
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
class Locator {
|
2023-08-02 12:50:46 +00:00
|
|
|
waitHandle(options?: Readonly<ActionOptions>): Promise<HandleFor<T>>;
|
2023-07-20 07:36:56 +00:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --------- | ------------------------------------------------------------- | ------------ |
|
|
|
|
| options | Readonly<[ActionOptions](./puppeteer.actionoptions.md)> | _(Optional)_ |
|
|
|
|
|
|
|
|
**Returns:**
|
|
|
|
|
2023-08-02 12:50:46 +00:00
|
|
|
Promise<[HandleFor](./puppeteer.handlefor.md)<T>>
|