upload_file
Upload a file to a web input element by specifying the file's absolute path and a CSS/XPath selector. Supports multiple locator strategies and configurable wait time.
Instructions
Upload a file by sending its absolute path to an element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Locator strategy | css |
| timeout | No | Wait timeout in seconds | |
| selector | Yes | CSS selector, XPath, or other locator value | |
| file_path | Yes | Absolute path to the file to upload |