browser_press_key
Simulate keyboard key presses in a real browser for automation tasks. Press single keys like Enter or Tab, or use modifiers for combinations like Ctrl+A.
Instructions
Press a keyboard key or combination (Enter, Escape, Tab, ArrowDown, etc). Supports modifiers like Ctrl+A, Cmd+C.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key name (e.g. "Enter", "Escape", "Tab", "ArrowDown", "a") | |
| modifiers | No | Modifier keys to hold | |
| ref | No | Element ref to focus before pressing | |
| selector | No | CSS selector to focus before pressing |