Definition and Usage
This command checks if a specified element is visible on a window. It allows you to verify the presence or absence of UI elements in a specified window, which is useful for conditional workflow execution based on the state of the user interface.
Parameter Values
Input parameters
Parameter Name | Description | Possible Values | Required | Options / Notes |
Window | Select a window object that was obtained earlier | - | Yes | Must be a previously captured window object |
Check if window | Check if window contains certain element | Contains element, Doesn't contain element | Yes | Determines the type of verification to perform |
Element | Select or capture an element to operate on | - | Yes | Can be captured using the Capture button |
Variables produced
This action doesn't produce any variables.
Using Variables in Conditions
You can use variables in the parameters of this command by inserting them with the {x} format. For example, you might use a variable to dynamically specify a window object that was stored from a previous action. When using variables, ensure that the variable type matches what is expected by the parameter (such as a window object for the Window parameter).
Notes
The window must be active and visible for this command to work properly
The element detection is based on visual recognition, so changes in the UI appearance might affect the reliability of this command
This command is commonly used in conditional branches to determine the next steps in a workflow based on UI state
If the window is minimized or covered by other windows, the element may not be detected even if it exists