Focus page element
browser_focusFocus a semantic or CSS locator on a specific page in a browser session to trigger UI state changes or prepare for a separate key action, keeping the locator scoped to that page.
Instructions
Focus a semantic or CSS locator on one explicitly addressed page without entering a value. Use this for focus-driven UI state or before a separate key action; the locator remains scoped to the supplied sessionId and pageId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| pageId | Yes | ||
| locator | No | ||
| sessionId | Yes | ||
| timeoutMs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ||
| completed | Yes | ||
| sessionId | Yes | ||
| operationId | Yes |