spa_upload
Uploads a file or multiple files to a file input element identified by CSS selector. Optionally navigates to a URL first and takes a screenshot.
Instructions
Upload a file to a file input element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to navigate to first (optional) | |
| file | No | Path to file to upload | |
| files | No | Multiple file paths to upload | |
| session | No | Session ID | default |
| selector | Yes | CSS selector for file input | |
| screenshot | No | Take screenshot after action |