Skip to main content
Every browser includes stealth, proxies, live preview, and recording. Its CDP URL is a WebSocket endpoint for remotely controlling Chrome. Your code using a CDP URL to connect to and control a cloud browser that accesses the web Your code using a CDP URL to connect to and control a cloud browser that accesses the web Get an API key and export it:

Install the SDK

Skip this step if you use curl.

Launch and connect

The SDK and REST examples use API V4. Each SDK example creates a browser, connects over CDP, opens a page, and stops the managed browser in finally. Use its existing browser context so profile cookies and managed settings apply. No local browser download is needed for a remote CDP connection.
Disconnecting CDP, Playwright’s browser.close(), or client.close() does not stop the managed browser. Use client.browsers.stop(session.id) as above. With Puppeteer, use disconnect() to release the connection, then stop the managed browser through the API.
For a browser created with curl, run this after your automation finishes:
Selenium cannot connect to a remote WebSocket CDP URL; use Playwright or Puppeteer. Use the live preview while the browser is running, then stop it when you are done. Recording is off by default for API browsers. Set enable_recording=True / enableRecording: true when creating the browser if you need a recording. The video becomes available asynchronously after it stops; Zero Data Retention projects never record.

Playwright, Puppeteer, Selenium

Full connection guide and stop semantics.

Browser settings

Configure proxies, screen size, recording, and timeout.