browser_press_key
Press a keyboard key (enter, tab, escape, etc.) on a specific element or the currently focused element to submit forms, navigate, or close modals.
Instructions
Send a keyboard key press to an element or the currently focused element.
Useful for submitting forms (enter), moving focus (tab), closing modals (escape), or triggering keyboard-driven UI components.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key name: enter, tab, escape, space, backspace, delete, home, end, pageup, pagedown, arrowup/down/left/right, f1-f12 | |
| selector | No | CSS selector of element to send the key to. Empty = active element. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |