bulk
This commit is contained in:
@@ -168,9 +168,15 @@ Any other value will uncheck the checkbox or deselect the radio button.
|
||||
cremote upload-file --tab="<tab-id>" --selector="input[type=file]" --file="/path/to/file.jpg" [--selection-timeout=5] [--action-timeout=5]
|
||||
```
|
||||
|
||||
This command automatically:
|
||||
1. **Transfers the file** from your local machine to the daemon container (if running in a container)
|
||||
2. **Uploads the file** to the specified file input element on the web page
|
||||
|
||||
The `--selection-timeout` parameter specifies how many seconds to wait for the element to appear in the DOM (default: 5 seconds).
|
||||
The `--action-timeout` parameter specifies how many seconds to wait for the upload action to complete (default: 5 seconds).
|
||||
|
||||
**Note**: The file path should be the local path on your machine. The command will handle transferring it to the daemon container automatically.
|
||||
|
||||
#### Submit a form
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user