Definition and Usage
Click UI element in window allows you to click a button, link, or any other element in a window. This action simulates mouse interactions with UI elements in desktop applications or web browsers, enabling automation of user interface interactions.
Parameter Values
Input parameters
Parameter | Description | Possible Values | Required | Options / Notes |
Element | Select or capture an element to operate on | - | Yes | Use the Capture button to select the target element |
Advanced settings
Parameter | Description | Possible Values | Required | Options / Notes |
Click mode | Choose whether to click or double-click | Single click, Double click | No | Default is Single click |
Mouse button | Select the mouse button to trigger the click | Left, Right | No | Default is Left |
Modifier key | Select a modifier key to hold during click | None, Ctrl, Shift, Alt | No | Default is None |
Click position | Select specific position to click on element | Center of the element, Top left corner of the element, Bottom left corner of the element, Top right corner of the element, Bottom right corner of the element | No | Default is Center of the element |
Horizontal offset (px) | Horizontal offset from the selected position in pixels | N/A | No | Default is 0 |
Vertical offset (px) | Vertical offset from the selected position in pixels | N/A | No | Default is 0 |
Wait after execution (s) | Wait for a specified number of seconds after the action is executed | N/A | No | Default is 1 second |
Element timeout (s) | Wait time for element to appear (seconds) | N/A | No | Default is 20 seconds |
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 with the {x} icon can accept variables from previous actions. You can insert variables by clicking on the field and selecting a variable from the dropdown menu. This is particularly useful when you need to dynamically select elements or configure click parameters based on previous action results.
Notes
Before using this command, ensure that the target application window is open and visible.
If the element cannot be found within the specified timeout period, the action will fail according to the configured error handling.
For web elements, ensure the page is fully loaded before attempting to click.
When using modifiers like Ctrl or Shift, be aware of the application's expected behavior with these combinations.
Horizontal and vertical offsets allow for fine-tuning the click position relative to the selected position on the element.