browser_tabs
Control browser tabs and windows: list open tabs, create, close, and switch between them to manage test automation workflows.
Instructions
Manage browser tabs/windows - list all open tabs, create new tabs, close tabs, and switch between tabs. Note: TestCafe manages windows rather than traditional tabs, but the functionality is similar.
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": {
"operation": "<operation>"
},
"name": "browser_tabs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| tabId | No | ||
| browser | No | ||
| timeout | No | ||
| operation | Yes | ||
| waitForLoad | No |