Drag UI Element drags a UI element with the mouse from one location to another in an open application window.
When fully expanded, the Drag 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
-
Drag Drag UI Element onto the canvas.
-
Connect the block in the flow (green input and output connectors).
-
Set Start Element and End Element.
-
Optionally adjust parameters such as Drop destination UI element, From Window / To Window, Speed, Default timeout / Timeout, and Await no changes, and branch via Not found if the element cannot be found in time.
-
Run the flow when it’s ready.
Building block parameters
Resources
|
Topic |
Description |
|---|---|
|
Common questions about creating, running, and managing flows in Leapwork. |
|
|
Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork. |
|
|
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. |