Release Key

The Release Key building block releases any previously pressed keys on the keyboard. This is useful when you have held down keys (for example with Press key) and need to release them again, such as when holding CTRL while dragging with the mouse.

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:

image-20260205-134928.png

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 Release Key onto the canvas.

  2. Connect the block in the flow and optionally specify Release All Keys, Keys, Await no movement.

  3. Run the flow when it’s ready.

Building block parameters

Parameters
  • Block header: The green input connector triggers the block to start executing and releases any previously pressed keys. The green output connector triggers when the keys have been released. The block title (“Release Key”) can be renamed by double-clicking it and typing a new title.

  • Release All Keys: Releases all previously pressed keys at once instead of releasing a specific key combination.

  • Keys: Specifies which key or key combination to release, and can be captured using the Capture button.

  • Await no movement: Delays the key release until there has been no movement on the screen for a specified period (for example, 2 seconds). This is useful when waiting for a screen update such as a browser page load. Regardless of this checkbox, the key release occurs after waiting a maximum of 30 seconds.

  • Await Timeout: The number of seconds the screen must have seen no movement before the block proceeds with releasing the keys.

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.