puppeteer/website/versioned_docs/version-20.7.2/api/puppeteer.locator.setensureelementisintheviewport.md

24 lines
385 B
Markdown
Raw Normal View History

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