latestOpenAPI 3.1.02026-08-22154287463.4 KB
858365328f92
Browser Pools
Acquire a browser from the pool
Long-polling endpoint to acquire a browser from the pool. Returns immediately when a browser is available, or returns 204 No Content when the poll times out. The client should retry the request to continue waiting for a browser. The acquired browser will use the pool's timeout_seconds for its idle timeout.
post/browser_pools/{id_or_name}/acquire
Path parameters
id_or_namestring required
Browser pool ID or name
Request body
Example request
{
"name": "checkout-flow-1",
"start_url": "https://example.com",
"tags": {
"env": "staging",
"team": "backend"
}
}Response
Browser acquired successfully
Example response
{
"base_url": "https://proxy.yul-upbeat-herschel.onkernel.com:8443/browser/kernel",
"browser_live_view_url": "https://proxy.yul-upbeat-herschel.onkernel.com:8443/browser/live?jwt=eyJ0eXAi...",
"cdp_ws_url": "wss://proxy.yul-upbeat-herschel.onkernel.com:8443/browser/cdp?jwt=eyJ0eXAi...",
"memory": "8GiB",
"name": "checkout-flow-1",
"network": {
"private_hosts": [
"*.example.ts.net",
"100.64.0.0/10"
]
},
"session_id": "htzv5orfit78e1m2biiifpbv",
"start_url": "https://example.com",
"tags": {
"env": "staging",
"team": "backend"
},
"viewport": {
"height": 800,
"refresh_rate": 60,
"width": 1280
},
"webdriver_ws_url": "wss://proxy.yul-upbeat-herschel.onkernel.com:8443/browser/webdriver/session?jwt=eyJ0eXAi..."
}