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",
"tags": {
"team": "backend",
"env": "staging"
},
"start_url": "https://example.com"
}Response
Browser acquired successfully
Example response
{
"cdp_ws_url": "wss://proxy.yul-upbeat-herschel.onkernel.com:8443/browser/cdp?jwt=eyJ0eXAi...",
"webdriver_ws_url": "wss://proxy.yul-upbeat-herschel.onkernel.com:8443/browser/webdriver/session?jwt=eyJ0eXAi...",
"browser_live_view_url": "https://proxy.yul-upbeat-herschel.onkernel.com:8443/browser/live?jwt=eyJ0eXAi...",
"base_url": "https://proxy.yul-upbeat-herschel.onkernel.com:8443/browser/kernel",
"session_id": "htzv5orfit78e1m2biiifpbv",
"name": "checkout-flow-1",
"viewport": {
"width": 1280,
"height": 800,
"refresh_rate": 60
},
"start_url": "https://example.com",
"tags": {
"team": "backend",
"env": "staging"
}
}