2023-06-02 17:46:10 +00:00
|
|
|
---
|
|
|
|
sidebar_label: Locator.setTimeout
|
|
|
|
---
|
|
|
|
|
|
|
|
# Locator.setTimeout() method
|
|
|
|
|
|
|
|
#### Signature:
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
class Locator {
|
2023-06-07 10:45:02 +00:00
|
|
|
abstract setTimeout(timeout: number): this;
|
2023-06-02 17:46:10 +00:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --------- | ------ | ----------- |
|
|
|
|
| timeout | number | |
|
|
|
|
|
|
|
|
**Returns:**
|
|
|
|
|
|
|
|
this
|