cypress_execute_command
Execute specific Cypress commands with chaining support, enabling step-by-step test automation and debugging.
Instructions
Execute a Cypress command with chaining support. This is a lower-level tool for executing specific Cypress commands.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"command": "<command>"
},
"name": "cypress_execute_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Cypress command to execute (e.g., "visit", "get", "click", "type") | |
| args | No | Arguments for the command | |
| selector | No | CSS selector or text to find element | |
| options | No | Additional options for the command |