Knowledge base
Tips and tricks Best practice guides, FAQ & more
Find tutorials, guides and use case examples in the
Learning center
A Release key building block is used to release any previously pressed keys on the keyboard. This can be useful for instance when needing to hold down a CTRL key and drag the mouse. It is used in combination with the Press key block.
See the Press and hold a key lesson for an example of how this works.
Fully expanded, the Release key block shows the following properties:
The green input connector in the header is used to trigger the block to start executing, and any previously pressed keys to be released.
The green output connector in the header triggers when the keys have been released.
The title of the block (“Release Key”) can be changed by double-clicking on it and typing in a new title.
Release all previously pressed keys at once instead of a specific key combination.
Delay the key release until there has been no movement on the screen for a specific period of time — for instance 2 seconds.
This is useful when waiting for a screen update to occur, for instance a page loading in a browser window. Regardless of this checkbox, the key release will occur after waiting a maximum of 30 seconds.
The number of seconds the screen must have seen no movement before proceeding.
©2024, Leapwork. All rights reserved.