puppeteer/docs/api/puppeteer.locator.setensureelementisintheviewport.md
2023-06-02 17:46:10 +00:00

24 lines
376 B
Markdown

---
sidebar_label: Locator.setEnsureElementIsInTheViewport
---
# Locator.setEnsureElementIsInTheViewport() method
#### Signature:
```typescript
class Locator {
setEnsureElementIsInTheViewport(value: boolean): this;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | ------- | ----------- |
| value | boolean | |
**Returns:**
this