upload_file
Upload one or more files through a specified page element by providing its UID and local file paths, enabling file selection and upload actions during 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 | |
| pageId | Yes | Targets a specific page by ID. | |
| filePaths | Yes | One or more files paths to upload. File paths have to be local to the browser instance (not the MCP). | |
| includeSnapshot | No | Whether to include a snapshot in the response. Default is false. |