Definition and Usage
Scroll to top, bottom or specific position on specified web page. This command allows you to navigate through web content by scrolling to different positions such as the top, bottom, scrolling by one screen, or to a specific element on the page.
Parameter Values
Input parameters
Parameter | Description | Possible Values | Required | Options / Notes |
Web page | Select a variable that contains the web page to work with | - | Yes | - |
Scroll within designated area | Choose whether to scroll inside a specific region or element on a web page | - | No | When checked, you'll need to specify an element |
Element | Select or capture an element to operate on | - | Only if scrolling within designated area | - |
Auto-find scrollable area | If the specified area or element isn't scrollable, use a scrollable parent or ancestor instead | - | No | Helps ensure scrolling works even if target element itself isn't scrollable |
Scroll type | Specify whether to scroll to the top, bottom, one screen or to a specified element | Scroll to top; To the bottom; For one screen; Scroll to element | Yes | - |
Scroll times | Specify the number of times to scroll | - | Only for "For one screen" option | - |
Scroll interval (s) | Set interval between scrolls in seconds | - | Only for multiple scrolls | - |
Element | Select or capture an element to operate on | - | Only for "Scroll to element" option | - |
Scroll style | Specify the scroll style | Smooth; Instant | Yes | - |
Element timeout (s) | Wait time for element to appear (seconds) | - | No | Advanced setting |
Error handling
Parameter Name | Description |
Throw error & stop | When an error occurs, the action will trigger an error and stop the execution of the entire app. |
Retry command | If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process. |
Ignore error & continue | When an error occurs, the action will be ignored, and the workflow will continue without interruption. |
Variables produced
This action doesn't produce any variables.
Using Variables in Conditions
You can use variables in the parameters of this command by clicking the {x} icon next to the input fields. This allows you to dynamically set values such as the web page to work with, scroll times, or intervals based on previously defined variables.
Notes
The web page must be already opened and available as a variable before using this command.
When using "Scroll to element", ensure the target element exists on the page to avoid errors.
The "Auto-find scrollable area" option is useful when working with complex web pages where the target element may not be directly scrollable.
For "For one screen" option, positive values scroll down while negative values scroll up.
The "Scroll style" determines whether the scrolling animation is visible (Smooth) or happens instantly.