Press Keyboard Key
browser_pressSimulate keyboard key presses such as Enter, Escape, or Tab on a web page to trigger navigation, dialogs, or shortcuts.
Instructions
Use when a keyboard action such as Enter, Escape, Tab, or a shortcut is part of the browser reproduction. Preconditions: an active page is required and the optional selector must identify the intended focus target. Next: continue the sequence or inspect any resulting navigation, dialog, DOM, or network activity. Sensitivity: key presses can submit data, trigger shortcuts, navigate, or mutate remote state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| delayMs | No | ||
| selector | No | ||
| timeoutMs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| result | No |