use electron window.md


version: "2026.1.0" language: "en"

Use Electron Window

The Use Electron Window block is used in Electron UI automation to locate and focus a specific Electron window, then expose a handle to that window so other Electron blocks in the flow can target it. This is especially useful when multiple Electron windows are open and you need to direct interactions to a particular one.

When fully expanded, the following is an example of the Use Electron Window block:

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 Electron Window onto the canvas.
  2. Choose a Source (for example, Define or Element ), configure any Conditions and Use occurred , and optionally adjust Default timeout.
  3. Run the flow when it's ready so the matching Electron window is found and made available via Electron window for subsequent blocks.

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.
Electron Troubleshooting Guidance and solutions for diagnosing and resolving issues related to Electron-based automation and environments