Start Web Browser
Click Web Element
Find Web Element
Type Web Text
Use Browser Window
Get Web Dropdown
Web File Upload
Clear Web Cookie
Get Web Cookie
Set Web Cookie
Click Web Position
Close Web Browser
Drag Web Element
Get Browser Details
Get Web Attribute
Log Web Screenshot
Get Web Number
Get Web Text
Handle Web Alert
Hover Web Element
Hover Web Position
Set Web Dropdown
A Drag Web Element building block is used to drag web elements with the mouse from one place to another in an open browser window.Please note that this block only works with browser windows that were previously opened using the Start Web Browser block or their “child” windows.
Fully expanded, the Drag Web Element block shows the following properties:
The green input connector in the header is used to trigger the block to start executing.
The green output connector in the header triggers when the drag action has been completed.
The title of the block (“Drag Web Element”) can be changed by double-clicking on it and typing in a new title.
This property contains the locator for the web element that the mouse drag action will be dragged from.
A web element locator can either be dragged and dropped onto this property from the “Web” tab on the left side of the screen or be captured by right-clicking on the property and selecting “Capture new web element”.
Once set, the web element locator can be edited by right-clicking and selecting “Edit web element”. See the many different Learning Center video examples of how this works.
The property can be cleared by right-clicking and selecting “Clear web element”.
This property contains the locator for the web element that the mouse drag action will be dragged to.
By setting this property, the building block will use a specific browser window.
When checked, any web element locator that is set to find an image (img tag), will also validate that the image does in fact load correctly. LEAPWORK validates this by sending an HTTP-request to the image source and validates that a 200 response is returned.
Updated March 24th 2017.