close electron application.md
Close Electron Application
The Close Electron Application block is used to close one or more open Electron application windows. It is typically placed at the end of a test flow to cleanly shut down the app under test.
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
Drag Close Electron Application onto the canvas.
Optionally check Close all if you want to close all open Electron windows. Otherwise, specify a particular Electron window to close.
Run the flow when it's ready.
Building block parameters
Parameters
Block header: Shows the current name of the Close Electron Application block. You can rename it by double-clicking the title and entering a new name.
Close all: When checked, the block will close all currently open Electron windows. If unchecked, it will close only the specific window provided in Electron window .
Electron window: Specifies the Electron window to be closed. Required unless Close all is selected.
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 |