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.
/browser_pools/{id_or_name}/acquireLong-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.
Authorization
bearerAuth In: header
Path Parameters
Browser pool ID or name
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request body for acquiring a browser from the pool.
Response
Browser acquired successfully
curl -X POST "https://example.com/browser_pools/string/acquire" \ -H "Content-Type: application/json" \ -d '{}'{ "created_at": "2019-08-24T14:15:22Z", "cdp_ws_url": "string", "webdriver_ws_url": "string", "browser_live_view_url": "string", "base_url": "string", "headless": true, "stealth": true, "gpu": true, "session_id": "string", "name": "string", "timeout_seconds": 0, "profile": { "id": "string", "name": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "last_used_at": "2019-08-24T14:15:22Z" }, "proxy_id": "string", "pool": { "id": "string", "name": "string" }, "viewport": { "width": 1, "height": 1, "refresh_rate": 1 }, "kiosk_mode": true, "start_url": "string", "chrome_policy": {}, "tags": { "property1": "string", "property2": "string" }, "deleted_at": "2019-08-24T14:15:22Z", "usage": { "uptime_ms": 0 }, "telemetry": { "browser": { "console": { "enabled": true }, "page": { "enabled": true }, "interaction": { "enabled": true }, "network": { "enabled": true }, "control": { "enabled": true }, "connection": { "enabled": true }, "system": { "enabled": true }, "screenshot": { "enabled": true }, "captcha": { "enabled": true } } }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}