mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
24 lines
385 B
Markdown
24 lines
385 B
Markdown
|
---
|
||
|
sidebar_label: Locator.setEnsureElementIsInTheViewport
|
||
|
---
|
||
|
|
||
|
# Locator.setEnsureElementIsInTheViewport() method
|
||
|
|
||
|
#### Signature:
|
||
|
|
||
|
```typescript
|
||
|
class Locator {
|
||
|
abstract setEnsureElementIsInTheViewport(value: boolean): this;
|
||
|
}
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --------- | ------- | ----------- |
|
||
|
| value | boolean | |
|
||
|
|
||
|
**Returns:**
|
||
|
|
||
|
this
|