2023-06-02 17:46:10 +00:00
|
|
|
---
|
|
|
|
sidebar_label: Locator.setTimeout
|
|
|
|
---
|
|
|
|
|
|
|
|
# Locator.setTimeout() method
|
|
|
|
|
|
|
|
#### Signature:
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
class Locator {
|
2023-07-26 15:00:00 +00:00
|
|
|
setTimeout(timeout: number): Locator<T>;
|
2023-06-02 17:46:10 +00:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --------- | ------ | ----------- |
|
|
|
|
| timeout | number | |
|
|
|
|
|
|
|
|
**Returns:**
|
|
|
|
|
2023-07-26 15:00:00 +00:00
|
|
|
[Locator](./puppeteer.locator.md)<T>
|