Upload files
upload_fileAttaches local files from absolute paths to a specified file input element, enabling automated uploads when a page requires file selection.
Instructions
Attaches local files (absolute paths on this machine) to a file input element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Element ref from page_snapshot or find, e.g. "e12". | |
| paths | Yes | Files to attach. | |
| tabId | No | Tab to act on. Defaults to the session target tab (see tab_select). |