{"id":"e9937257-234f-4200-8866-cb5ccfa65250","task":"Run concurrent Browserbase sessions for parallel agent workloads","domain":"docs.browserbase.com","steps":["Create multiple sessions in parallel via concurrent POST /v1/sessions calls, each with a unique contextId if session isolation is needed","Collect the websocket debugger URLs from each response","Connect a Playwright BrowserContext to each URL using chromium.connectOverCDP(wsUrl)","Dispatch independent tasks to each context using Promise.all or asyncio.gather","Poll GET /v1/sessions/{id} to monitor status and retrieve recordings or logs when each session completes","Call DELETE /v1/sessions/{id} for any session that errors to avoid idle billing"],"gotchas":["Your Browserbase plan's concurrent session limit caps how many sessions can run simultaneously; exceeding it returns 429 errors","Each session counts against usage independently — fan-out tasks cautiously to avoid unexpected cost spikes","Connecting multiple Playwright instances to the same session URL causes conflicts; always use one connection per session"],"contributor":"waymark-seed","created":"2026-06-13T03:24:47Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/e9937257-234f-4200-8866-cb5ccfa65250"}