page_upload_file
Upload a file from the local machine to a file input element on a web page using its CSS selector. Provide the absolute file path and page session to complete the action.
Instructions
Upload a file to an input[type=file] by CSS selector. The file must exist on the machine running the engine.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| selector | Yes | CSS selector for the file input (input[type=file]). | |
| file_path | Yes | Absolute path to the file to upload. | |
| session_id | Yes |