Click Text | Leapwork Docs

The Click text block searches for a specific piece of text on the whole screen or within a defined area and then performs a mouse click at the location where the text is found. It uses OCR (text recognition), which is more CPU-intensive than image recognition, so searching a full screen can take several seconds.

This block is typically used to click on buttons, menu items, or other controls that are easier to identify by their text than by their graphics. See the Clicking on elements and text on screen lesson for an example of how this works.

Fully expanded, the Click text 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 text onto the canvas.

  2. Enter the Text to click (required) and optionally adjust parameters such as Text fields, Language, Button, Speed, Area, OCR settings, Default timeout.

  3. Run the flow when it’s ready.

Building block parameters

Parameters

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.