This commit is contained in:
Josh at WLTechBlog
2025-08-18 11:00:16 -05:00
parent e5f998e005
commit 4ea5615ef8
7 changed files with 422 additions and 27 deletions

View File

@@ -130,9 +130,13 @@ cremote submit-form --selector="form#login-form"
### File Upload Testing
```bash
# Upload files to file inputs
# Upload files to file inputs (automatically transfers to daemon container first)
cremote upload-file --selector="input[type=file]" --file="/path/to/test-file.pdf"
cremote upload-file --selector="#profile-photo" --file="/tmp/test-image.jpg"
cremote upload-file --selector="#profile-photo" --file="/home/user/test-image.jpg"
# The command automatically:
# 1. Transfers the file from local machine to daemon container
# 2. Uploads the file to the web form input element
```
### Element Interaction