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

24 lines
355 B
Markdown
Raw Normal View History

---
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)&lt;T&gt;