mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
feat: implement Locators (#10305)
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
---
|
||||
sidebar_label: Locator.setEnsureElementIsInTheViewport
|
||||
---
|
||||
|
||||
# Locator.setEnsureElementIsInTheViewport() method
|
||||
|
||||
#### Signature:
|
||||
|
||||
```typescript
|
||||
class Locator {
|
||||
setEnsureElementIsInTheViewport(value: boolean): this;
|
||||
}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ------- | ----------- |
|
||||
| value | boolean | |
|
||||
|
||||
**Returns:**
|
||||
|
||||
this
|
||||
Reference in New Issue
Block a user