Definition and Usage
Simulates a mouse click or press action at the current or specified position. This command allows you to perform different types of mouse interactions such as single clicks, double clicks, or press-and-release actions to interact with elements on the screen.
Parameter Values
Input parameters
Parameter | Description | Possible Values | Required | Options / Notes |
Mouse button | Specify which mouse button to click | Left, Middle, Right | Yes | Left is the default option |
Click action | Select how the mouse should interact at the target location | Click, Double click, Mouse up, Mouse down | Yes | Click is the default option |
Move mouse before clicking | Move the mouse to a specified position before clicking | True/False | No | When enabled, additional position settings will appear |
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 | None is the default option |
Wait after execution (s) | Wait for a specified number of seconds after the action is executed | Numeric value | No | Default is 1 second |
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 for parameters such as "Wait after execution (s)" by clicking on the variable icon {x} next to the input field. This allows you to dynamically set wait times based on previous calculations or user inputs.
Notes
When using "Move mouse before clicking" option, you'll need to specify the coordinates or target element for the mouse to move to.
The "Mouse up" and "Mouse down" actions are useful for drag and drop operations when combined with other mouse actions.
Using modifier keys (Ctrl, Alt, Shift, Win) allows you to perform complex interactions like Ctrl+Click for multi-select operations.
Ensure that the target element is visible and clickable before executing this command to avoid errors.
For automated testing or interaction with applications, ensure the application window is in focus before performing click operations.