Skip to navigation

upload

Referenced In

Fields

FieldTypeDescriptionDefault
uploadobject(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
}
}