scrollUp()
Scrolls up the page/element.
Examples
await scrollUp()
await scrollUp(1000)
await scrollUp('Element containing text')
await scrollUp('Element containing text', 1000)
Parameters
| Name | Type | Description |
|---|---|---|
e |
selector | string | number | Default: 'Window'. |
px |
number | Accept px in pixels Default: 100. |
Returns
| Type | Description |
|---|---|
Promise<void> |