electron file upload.md

Electron File Upload

The Electron File Upload block uploads a file in an Electron-based application by interacting with the file upload control and providing a file from the selected source. This removes the need for manual interaction with file selection dialogs and enables fully automated upload flows.

When fully expanded, the following is an example of the Electron File Upload 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 Electron File Upload onto the canvas.
  2. Connect the block in the flow and specify Select File Upload element (required) and Source type, then choose the file to upload under File Input. Optionally set Source element, Electron window, and Use occurred, and configure timeout/search behavior settings if needed.
  3. Run the flow when it's ready.

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