upload_file_by_uid
Upload files to web forms by targeting specific file input elements using their unique identifiers. Provide the element UID and local file path to automate file submission in browser testing and automation workflows.
Instructions
Upload a file into an element identified by its UID. The file path must be accessible to the server.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filePath | Yes | Local filesystem path to the file to upload | |
uid | Yes | The UID of the file input element |
Input Schema (JSON Schema)
{
"properties": {
"filePath": {
"description": "Local filesystem path to the file to upload",
"type": "string"
},
"uid": {
"description": "The UID of the file input element",
"type": "string"
}
},
"required": [
"uid",
"filePath"
],
"type": "object"
}