browser_press
Press keyboard keys like Enter, Tab, or shortcuts in a Chrome browser to interact with web pages and elements during automated testing.
Instructions
Press a keyboard key, optionally on a specific element.
Key examples: Enter, Tab, Escape, Backspace, Delete, ArrowUp, ArrowDown, Control+a, Control+c, Control+v, Shift+Tab, Alt+F4
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key to press (e.g., 'Enter', 'Tab', 'Escape', 'ArrowDown', 'Control+a') | |
| selector | No | Optional selector to focus before pressing key | |
| timeout | No | Timeout in milliseconds |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |