scrollRight()
Scrolls the page/element to the right.
Examples
await scrollRight()
await scrollRight(1000)
await scrollRight('Element containing text')
await scrollRight('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> |