Scroll¶
This docs was updated at: 2026-02-23
com.paragon.web.Scroll ยท Record
Action to scroll the page or a specific element.
Methods¶
of¶
Creates a Scroll action.
Parameters
| Name | Description |
|---|---|
selector |
Query selector for the element to scroll |
direction |
The direction to scroll |
amount |
The amount to scroll in pixels (0-1000) |
Returns
A new Scroll instance
down¶
Creates a Scroll action that scrolls down.
Parameters
| Name | Description |
|---|---|
selector |
Query selector for the element to scroll |
amount |
The amount to scroll in pixels |
Returns
A new Scroll instance that scrolls down
up¶
Creates a Scroll action that scrolls up.
Parameters
| Name | Description |
|---|---|
selector |
Query selector for the element to scroll |
amount |
The amount to scroll in pixels |
Returns
A new Scroll instance that scrolls up
left¶
Creates a Scroll action that scrolls left.
Parameters
| Name | Description |
|---|---|
selector |
Query selector for the element to scroll |
amount |
The amount to scroll in pixels |
Returns
A new Scroll instance that scrolls left
right¶
Creates a Scroll action that scrolls right.
Parameters
| Name | Description |
|---|---|
selector |
Query selector for the element to scroll |
amount |
The amount to scroll in pixels |
Returns
A new Scroll instance that scrolls right