Use Browser Window | Leapwork Docs

Use Browser Window

The Use Browser Window building block switches focus to a specific web browser window during web automation. This block only works with browser windows opened using Start Web Browser. Multiple browser windows are not supported by Selenium Grid or external cloud providers such as Sauce Labs and BrowserStack.

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 Use Browser Window onto the canvas.
  2. Connect the block in the flow and specify Get window method, Condition, and Text to find. Optionally add Text fields for dynamic values, and set Use occurred if more than one matching window may exist.
  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.