Click Electron Element | Leapwork Docs

Click Electron Element

The Click Electron Element block simulates a mouse click on a target UI element within an Electron-based desktop application. This block is commonly used in automated tests where interaction with custom components is required, such as buttons, table cells, or icons rendered in Electron.

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 Click Electron Element onto the canvas.
  2. Connect the block in the flow and optionally configure parameters such as Button, Use occurrence, Scroll to find, Require valid images, Await DOM change, or Timeout.
  3. Run the flow when it’s ready.

Building block parameters

Parameters

Both Await DOM change and Await Requests delay the search but still enforce a maximum wait time of 30 seconds.

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