browser_press
Press a specified key (e.g., Enter, Escape, Tab) on a web page. Optionally focus a CSS selector before pressing.
Instructions
Press a single key (e.g. Enter, Escape, Tab, ArrowDown) on the page. For typing text use browser_type.
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": {
"key": "<key>"
},
"name": "browser_press"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key name to press, e.g. Enter, Escape, Tab, ArrowDown. | |
| selector | No | Optional CSS selector to focus before pressing the key. |