Switch Tab
tab_switchSwitch browser tabs by index to handle popups and manage multi-page sessions. Returns a snapshot of the active tab for verification and workflow tracking.
Instructions
Switch to a different tab by index. Use -1 to switch to the most recently opened tab (useful for popups). Returns a snapshot of the newly active tab.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session ID. | |
| tabIndex | Yes | Tab index to switch to. -1 for last (most recent) tab. |