press_key
Simulate pressing a key on the currently focused element in the browser, such as Enter to submit or Tab to move focus. Use it for keyboard interactions after focusing an element.
Instructions
Press one key on whichever element currently has focus, e.g. Enter to submit, Tab to move focus, Escape to close a dialog, or arrow keys in a list. Named keys: enter, tab, escape/esc, backspace, delete, space, arrowup, arrowdown, arrowleft, arrowright, home, end, pageup, pagedown; any other value is typed as literal text. To type into a specific field, use type, which focuses the field first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key name (case-insensitive), e.g. 'Enter', 'Tab', 'Escape', 'ArrowDown', or a single character. |