upload
Referenced In
Fields
| Field | Type | Description | Default |
|---|---|---|---|
| upload | object(Upload files (detailed)) | Required. Set the files of a file input, without opening the file dialog. The files replace any the input already holds. | — |
Examples
{"upload": {"selector": "#avatar","path": "avatar.png"}}
{"upload": {"elementText": "Choose files","path": ["a.pdf","b.pdf"]}}
{"upload": {"elementTestId": "resume","path": "files/resume.pdf","timeout": 10000}}