Create Browser Session
Create a new hosted browser session.
Authorizations
Your Driver API key. Get one at https://app.driver.dev
Body
Use hosted Driver infrastructure for the session.
hosted "hosted"
Start a session in a specific country using its 2-letter ISO code. Optional.
2"US"
Create the hosted session on a specific previously used hosted node. Optional. Overrides country.
"node-id-from-servedBy"
The duration of the browser session in seconds. Optional. Default is 3600 seconds (1 hour). Cannot be greater than 3600 seconds (1 hour). Cannot be less than 60 seconds (1 minute).
60 < x <= 3600600
The window size for the browser session in the format WIDTHxHEIGHT (e.g., 1920x1080). Optional.
"1920x1080"
SOCKS5 proxy URL for the session. Optional. Requires hosted sessions and cannot be used with nodeId.
"socks5://user:[email protected]:1080"
The browser profile to use for the session. Optional.
Attempt faster startup when the request is eligible. Optional.
true
Enable the built-in CAPTCHA solver for the session. Optional. Default is false.
true
Chrome extension IDs to load into the browser session. Optional. Requires extension access for your account.
["abc123def456"]Response
Successfully created a browser session.
The ID of the created browser session.
The status of the session.
starting, active, completed, error The node ID that is serving this session.
The ISO 8601 timestamp when the session was created.
The ISO 8601 timestamp when the session was stopped, or null if it is still active.
The URL to access the Chrome DevTools Protocol for this session, or null if not available.
An optional note attached to the session, or null if not set.