upload_files
Set local files on any file input using a CSS selector and absolute paths, bypassing JavaScript's read-only restriction.
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 | |||