Hover Electron Position

The Hover Electron Position block is used in Electron UI automation to move the mouse pointer to a specific position in an Electron application window without clicking. It is typically used to trigger hover states such as tooltips, menus, or visual highlights.

When fully expanded, the following is an example of the Hover Electron Position block:

image-20260112-134436.png

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 Hover Electron Position onto the canvas.

  2. Set the Position (required) and optionally specify Electron window if you need to target a specific Electron window.

  3. Run the flow when it’s ready.


Building block parameters

Parameters
  • Block header: Shows the current name of the Hover Electron Position block. You can rename it at any time by double-clicking the header and typing a new title to keep flows readable and organized.

  • Position: Defines where the mouse should hover in the Electron application, as X, Y coordinates on the application canvas.

    • The top-left corner of the application canvas is position 0, 0.

    • Use this parameter to point to the exact location where the hover effect should be triggered.

  • Electron window: Contains a handle to the Electron window in which the hover action should take place.

    • When set, this ensures the block targets a specific window, which is useful when multiple Electron windows are open in the same test run.

    • The same handle can be passed to other Electron blocks so they all operate on the same window.


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