browser_file_upload
Upload local files to a web page by targeting a file input or chooser button; no file dialog appears.
Instructions
Upload local files through a file input. ref may be the file input itself or the button that opens the file chooser; no dialog is shown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Exact target element reference from the page snapshot | |
| paths | Yes | Absolute paths of the files to upload (`~` is expanded) | |
| element | Yes | Human-readable element description used to obtain permission to interact with the element | |
| snapshot | No | Also return the page snapshot after the action (default: no). Use it when you need to see the result right away. |