Skip to main content
One browser on one machine for up to an hour. Every field is optional; the defaults give you a hosted Chrome in the US. If a few seconds of start-up is too slow, acquire from a browser pool instead.

Response

The call blocks until Chrome is reachable (measured: two to three seconds), so cdpUrl is set and status is active. It gives up after 20 seconds on most machines, three minutes on the newest, with a 504. Set a client timeout of at least three minutes on this call; everything else answers within seconds. The browser opens on about:blank, or your url, with one context and one tab. If you get starting, poll GET /v1/browser/session until cdpUrl appears. Session ids are opaque (32 hex characters today); don’t validate the format. cdpUrl is a credential: anyone holding it can drive the browser.

Options

Unknown fields are a 400 (window_size is not supported by this endpoint), as are out-of-range values (duration: Too small: expected number to be >=60, note: Too big: expected string to have <=256 characters) and options that contradict each other: a timezone or language not listed for the country (Unsupported timezone "Europe/Berlin" for country US.), a country that doesn’t match your proxy’s exit, a proxy that can’t be reached. The message names the field.

Errors

What to retry is on Errors.

Next