Switch window
switch_windowSwitch focus to a specific browser window or popup using its zero-based index, or target the newest window after opening one.
Instructions
Switch to another browser window or popup. Use target:"newest" after an action that opens a window, or index to select a window by its zero-based position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Zero-based window index. | |
| target | No | Switch to the newest window. | |
| timeoutMs | No | How long to poll for a new window. Defaults to IE_MCP_TIMEOUT_MS. |