switch_window
Switches the active browser context to a specific window or tab using its Selenium window handle. Useful for managing multiple browser windows or tabs during automation.
Instructions
Switch to a browser window or tab by Selenium window handle.
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": {
"handle": "<handle>"
},
"name": "switch_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||