Browser press key
browser_press_keyPress a keyboard key in a running browser debug session, with optional selector focus to ensure input reaches the correct element.
Instructions
Press a keyboard key in a browser debug session, optionally focusing a selector first.
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": {
"session_id": "<session_id>",
"key": "<key>"
},
"name": "browser_press_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| selector | No | ||
| session_id | Yes |