puppeteer/website/versioned_docs/version-20.7.4/api/puppeteer.locator.settimeout.md

24 lines
320 B
Markdown
Raw Normal View History

---
sidebar_label: Locator.setTimeout
---
# Locator.setTimeout() method
#### Signature:
```typescript
class Locator {
abstract setTimeout(timeout: number): this;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | ------ | ----------- |
| timeout | number | |
**Returns:**
this