upload_file
Upload a local file through a specified browser element by providing its UID and file path. Automates file selection for browser automation.
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. |