upload_file
Upload a file to a web page by sending its absolute path to an element.
Instructions
Upload a file by sending its absolute path to an element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector, XPath, or other locator value | |
| by | No | Locator strategy | css |
| timeout | No | Wait timeout in seconds | |
| file_path | Yes | Absolute path to the file to upload |