Click UI Element | Leapwork Docs

The Click UI Element block is used in Desktop UI automation to click a UI element, such as a button, checkbox, or other interactive control, in an already open application window. When executed, the target element is located, scrolled into view if needed, and clicked according to the configured method and button settings.

Fully expanded, the Click UI Element block shows the following properties:

Note: The screenshot on this page uses the Elegance Design, introduced in 2025.3. If you are using an earlier version, your layout may look different.

Quick-start

  1. Drag Click UI Element onto the canvas.

  2. Capture the target in Select UI Element (required) and optionally adjust parameters such as Method, Button, Hold Duration, Default timeout, Timeout.

  3. Run the flow when it’s ready.

For a minimal setup, set Select UI Element to the control you want to click, keep the default click settings, and run the flow.

Building block parameters

Parameters

A Found element from one block can also be connected to Select UI Element in another block to reuse the same element instead of searching again.

You can expand this parameter to work with X and Y separately.

Resources

Topic Description
Flows FAQ Common questions about creating, running, and managing flows in Leapwork.
Flows Troubleshooting Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork.
Strategy Editor Guidelines for understanding and using the Strategy Editor in Leapwork to define, refine, and validate robust locator strategies for UI elements using DOM structure, tokens, and wildcards.