set_input_files
Test file upload UI in Electron by setting files on elements without triggering the native file picker. Pass absolute file paths to simulate user file selection.
Instructions
Set files on an without triggering the native file picker. This is the CORRECT way to test file upload UI in Electron — much more reliable than drop_file. Pass one or more absolute file paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | ||
| files | Yes | Array of absolute file paths. | |
| timeoutMs | No | Default 5000. |