Press key on page element
browser_pressPress a key on a specified element in a specific page, with ordered execution and a timeout if the element is missing.
Instructions
Press a key on a locator within one explicitly addressed page, preserving deterministic ordering with other operations in that session. A missing or unsuitable element returns OPERATION_TIMEOUT within timeoutMs (10 seconds by default) without closing MCP or browser sessions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| ref | No | ||
| pageId | Yes | ||
| locator | No | ||
| sessionId | Yes | ||
| timeoutMs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ||
| completed | Yes | ||
| sessionId | Yes | ||
| operationId | Yes |