Switch Tab
tab_switchSwitch to a specific browser tab using its index. Use -1 to jump to the most recently opened tab, getting a snapshot of the active tab.
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. |