Press key in browser
browser_press_keyPress Enter, Tab, Escape, or Backspace in an active browser tab to submit forms, move between fields, or exit dialogs. Verify current page state before pressing Backspace to avoid unintended deletions.
Instructions
Press Enter, Tab, Escape or Backspace in one of the agent's tabs, for example Enter to submit a form after browser_type. Only these four keys are supported; use browser_type for characters. Enter can submit forms and Backspace deletes, so check the page state with browser_snapshot first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key to press | |
| tab_id | Yes | tab_id of one of the agent's tabs, from browser_open_tab or browser_list_tabs | |
| session_id | No | Stable task or thread ID. Pass the same value on every browser call for this task. Different IDs isolate tabs and cleanup within one MCP process. Omit for the default process session. |