upload_files
Upload local files to a file input by providing a CSS selector and absolute paths, bypassing JavaScript's read-only restriction on input.files.
Instructions
Set files on a file input, which JS cannot do (input.files is read-only). Give a CSS selector for the and absolute local paths. Runs as a single CDP batch so the DOM node ids stay valid across the sequence.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | ||
| timeout | No | ||
| selector | Yes | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||