Skip to main content

Scroll Mouse

Sophie avatar
Written by Sophie
Updated over 2 weeks ago

Definition and Usage

Scrolls the mouse wheel in the specified direction a set number of times. This command allows you to automate mouse scroll actions, which can be useful for navigating through long documents, web pages, or any interface that requires scrolling.

Parameter Values

Input parameters

Parameter

Description

Possible Values

Required

Options / Notes

Scroll direction

Select the direction to scroll the mouse wheel

Upwards, Downwards

Yes

Controls whether the page scrolls up or down

Scroll times

Specify the number of times to scroll

Integer value

Yes

Determines how many scroll actions will be performed

Advanced settings

Parameter

Description

Possible Values

Required

Options / Notes

Modifier key

Select the modifier key to hold during the click

None, Alt, Ctrl, Shift, Win

No

Allows combining the scroll with a keyboard modifier key

Wait after execution (s)

Wait for a specified number of seconds after the action is executed

Numeric value (seconds)

No

Adds a delay after the scroll action completes

Move mouse before scrolling

Move the mouse to the specified position before scrolling

Boolean (checkbox)

No

When checked, allows positioning the mouse before performing scroll action

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

Parameters marked with {x} icon support variable insertion. You can insert previously defined variables into these fields by clicking the variable icon and selecting the desired variable. This is particularly useful when you need to dynamically determine scroll times based on calculations or data from previous steps.


Notes

  • The mouse scroll action will be performed at the current mouse cursor position unless "Move mouse before scrolling" is enabled in advanced settings.

  • The number of lines scrolled may vary depending on system settings and the application being scrolled.

  • Some applications may respond differently to scroll actions, especially when modifier keys are used.

  • If the target application doesn't support scrolling or if the mouse is positioned over an area that doesn't accept scroll input, the command may not produce the expected results.

Did this answer your question?