Scroll Activity
The Scroll activity enables users to navigate web pages or applications by moving the viewable area up, down, left, or right. This activity facilitates content exploration beyond the initial viewport within a specified application.
| Field | Description | Requirement |
|---|---|---|
| Application name | Specifies the reference name of the target application or browser instance where the scroll action will be performed. This application must be pre-opened or attached. | Required |
| X-coordinate | Defines the horizontal distance, in pixels, by which the page view will shift along the X-axis. A positive value moves the view to the right, and a negative value moves it to the left. | Optional |
| Y-coordinate | Defines the vertical distance, in pixels, by which the page view will shift along the Y-axis. A positive value moves the view downwards, and a negative value moves it upwards. | Optional |
| Scroll Direction | Determines a predefined direction for page movement (e.g., "Up", "Down", "Left", "Right") within the opened browser or application. This parameter is mutually exclusive with X-coordinate and Y-coordinate. | Optional |
Action Types & Examples
Down
- Format:
[string] - Example Result:
"Down"
Up
- Format:
[string] - Example Result:
"Up"
Left
- Format:
[string] - Example Result:
"Left"
Right
- Format:
[string] - Example Result:
"Right"
Implementation Examples
Field Setup - Application name: robustaWebpage - X-coordinate: 300 - Y-coordinate: 0 - Scroll Direction: Down
Execution Parameters - Scroll Down by Direction - Application name: myBrowserApp - Scroll Direction: Down - Scroll Right by X-coordinate - Application name: myBrowserApp - X-coordinate: 300 - Scroll Up by Y-coordinate - Application name: myBrowserApp - Y-coordinate: -200 - Scroll Left by X-coordinate - Application name: myBrowserApp - X-coordinate: -150
Technical Notes
The Scroll activity supports movement along a single axis (horizontal or vertical) or a predefined direction at a time. Simultaneous configuration of both
X-coordinateandY-coordinateis not supported. Additionally, if aScroll Directionis specified, bothX-coordinateandY-coordinatefields must be left blank. For horizontal movement usingX-coordinate, theY-coordinatefield must be left blank. For vertical movement usingY-coordinate, theX-coordinatefield must be left blank.