spa_upload
Upload files to file input elements in single-page apps. Specify a CSS selector and file path; optionally navigate to a URL first.
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 |