browser_switch_to_window
Switch the active browser window to a specified window handle so Selenium automation can interact with the correct open window.
Instructions
Switch to a different browser window
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"windowHandle": "<windowHandle>"
},
"name": "browser_switch_to_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| windowHandle | Yes | The handle of the window to switch to |