upload_file
Upload files to web pages by selecting elements and specifying local file paths. This tool interacts with file input fields to transfer files from your system to web applications during testing or automation workflows.
Instructions
Upload a file through a provided element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | The uid of the file input element or an element that will open file chooser on the page from the page content snapshot | |
| filePath | Yes | The local path of the file to upload | |
| includeSnapshot | No | Whether to include a snapshot in the response. Default is false. |