The Get Electron Attribute block is used to retrieve the value of a specific attribute from an element in an Electron-based application. It is typically used to extract dynamic values such as IDs, labels, paths, or flags from UI elements during test execution.
This block is useful when validating application state, capturing metadata, or branching logic based on an attribute’s presence or value.
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 Get Electron Attribute onto the canvas.
-
Connect the Source element and specify the Attribute name.
-
Use the Attribute value or Exists outputs as needed in your flow.
-
Run the flow when it’s ready.
Building block parameters
Resources
|
Topic |
Description |
|---|---|
|
Common questions about creating, running, and managing flows in Leapwork. |
|
|
Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork. |
|
|
Guidance and solutions for diagnosing and resolving issues related to Electron-based automation and environments |