find web element.md

Find Web Element

The Find Web Element building block searches for a web element (for example, a div) in an already open browser window. It outputs the found element and related details (position, area, attributes, visibility, etc.), and it triggers Not found if the element cannot be located within the configured timeout behavior.

This block only works with browser windows opened using Start Web Browser (or their child windows).

Fully expanded, the Find Web Element 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 Find Web Element onto the canvas.
  2. Connect the block in the flow and specify Select Web Element. Optionally set Source element or Browser window, and adjust Scroll to find / await options and timeout-related settings if needed.
  3. Run the flow when it's ready.

Building block parameters

Parameters

Note: All cases have a global timeout configured in the Settings panel. This is unrelated to the timeout of a single building block. However, a running case will automatically be cancelled if it runs for longer than the global timeout.

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.