mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
24 lines
355 B
Markdown
24 lines
355 B
Markdown
---
|
|
sidebar_label: Locator.setTimeout
|
|
---
|
|
|
|
# Locator.setTimeout() method
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
class Locator {
|
|
setTimeout(timeout: number): Locator<T>;
|
|
}
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --------- | ------ | ----------- |
|
|
| timeout | number | |
|
|
|
|
**Returns:**
|
|
|
|
[Locator](./puppeteer.locator.md)<T>
|