Perform browser action and wait
browser_action_and_waitPerform browser actions like click or press while atomically waiting for navigation, response, popup, or dialog events, handling popups and dialogs in one call.
Instructions
Atomically register a navigation, response, popup, or dialog waiter first, then click or press on the explicitly addressed page under one shared deadline; the action locator may use a bounded semantic iframe chain. Popup pages receive a new BrowserMesh pageId in the same session with isDefault=false and are closed if the page limit is exceeded. Dialogs must be handled atomically because they cannot be inspected later; specify the expected type and accept/dismiss action. Returned dialog text is bounded. Use this instead of parallel same-session calls when an action triggers the event.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | Yes | ||
| action | Yes | ||
| pageId | Yes | ||
| sessionId | Yes | ||
| timeoutMs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | ||
| pageId | Yes | ||
| sessionId | Yes | ||
| operationId | Yes |