browser_press_key
Press keyboard keys in an automated browser, targeting specific elements via CSS selector or ARIA reference for precise user interaction.
Instructions
Press a keyboard key, optionally focused on a selector or aria ref 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": {
"key": "<key>"
},
"name": "browser_press_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| ref | No | ||
| timeout | No | ||
| selector | No | ||
| frameSelector | No | Optional iframe CSS selector; selector/ref resolve inside it. |