createCdpSession
Create a remote TestingBot browser session and return its CDP URL, enabling direct browser control with Puppeteer, Playwright, or other CDP clients.
Instructions
Create a remote browser session on TestingBot and get its CDP (Chrome DevTools Protocol) URL for direct browser control. Use this to automate browsers via CDP clients like Puppeteer or Playwright.
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": {
"browserName": "<browserName>",
"platform": "<platform>"
},
"name": "createCdpSession"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Session name for identification | |
| build | No | Build identifier | |
| platform | Yes | Platform/OS (WIN11, WIN10, MONTEREY, BIGSUR, etc.) | |
| timeZone | No | Time zone (e.g., 'America/New_York') | |
| browserName | Yes | Browser name (chrome, firefox, edge, safari) | |
| browserVersion | No | Browser version (default: 'latest') | latest |
| screenResolution | No | Screen resolution (e.g., '1920x1080') | |
| extraCapabilities | No | Additional capabilities as key-value pairs |