get web text.md

Get Web Text

The Get Web Text block is used to read text from a specific web element or from text nested inside it in an already open browser window. The extracted text can then be used for validations, decisions, or logging in the rest of the flow.

This block only works with browser windows that were previously opened using the Start Web Browser block or their child windows.

Fully expanded, the Get Web 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 Get Web Text onto the canvas.
  2. Capture the target in Select Web Element to get text (required) and optionally adjust parameters such as Find format, Filter, Use Occurrence, Default timeout, Scroll to find, Scroll into view, Await DOM change, Await Requests.
  3. Run the flow when it's ready.

For a minimal setup, set Select Web Element to get text to the element you want to read from and run the flow with the default settings.

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.
Strategy Editor 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.