Clean up documentation and remove temporary files
- Remove all phase completion summaries and temporary development docs - Remove test files and backup directories - Update README.md to document select dropdown functionality - Add comprehensive select action documentation with examples - Clean project structure for production readiness The project now has clean, production-ready documentation with: - Main README with complete CLI documentation including select actions - MCP server documentation with 27 comprehensive tools - LLM usage guides and best practices - All temporary and ancillary files removed
This commit is contained in:
16
README.md
16
README.md
@@ -77,7 +77,7 @@ cremote <command> [options]
|
||||
- `version`: Show version information for CLI and daemon
|
||||
- `open-tab`: Open a new tab and return its ID
|
||||
- `load-url`: Load a URL in a tab
|
||||
- `fill-form`: Fill a form field with a value
|
||||
- `fill-form`: Fill a form field with a value (also handles checkboxes, radio buttons, and dropdown selections)
|
||||
- `upload-file`: Upload a file to a file input
|
||||
- `submit-form`: Submit a form
|
||||
- `get-source`: Get the source code of a page
|
||||
@@ -163,6 +163,20 @@ cremote fill-form --tab="<tab-id>" --selector="#option2" --value="true"
|
||||
Accepted values for checking a checkbox or selecting a radio button: `true`, `1`, `yes`, `on`, `checked`.
|
||||
Any other value will uncheck the checkbox or deselect the radio button.
|
||||
|
||||
#### Select dropdown options
|
||||
|
||||
The `fill-form` command can also be used to select options in dropdown elements:
|
||||
|
||||
```bash
|
||||
# Select by option text (visible text)
|
||||
cremote fill-form --tab="<tab-id>" --selector="#country" --value="United States"
|
||||
|
||||
# Select by option value (value attribute)
|
||||
cremote fill-form --tab="<tab-id>" --selector="#state" --value="CA"
|
||||
```
|
||||
|
||||
The command automatically detects dropdown elements and tries both option text and option value matching. This works with both `<select>` elements and custom dropdown implementations.
|
||||
|
||||
#### Upload a file
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user