browser_switch_to_popup
Switch to the most recently opened popup or new tab. Waits for the new window, makes it active, and returns its ARIA snapshot.
Instructions
Switch the active page to the most recently opened popup or new tab.
Use this after triggering an OAuth / SSO flow (Google Sign-In, GitHub OAuth,
etc.) or any action that calls window.open() or opens a target=_blank link.
The tool waits up to timeout_ms for the new window to open, then makes it the
active page and returns its ARIA snapshot. To go back to the original tab
afterward, use browser_tabs(action='select', index=0).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |