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 infinally.
Use its existing browser context so profile cookies and managed settings apply.
No local browser download is needed for a remote CDP connection.
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.
Label and find browsers
Attach up to 10metadata labels when you create a browser. Keys are up to
100 characters and values up to 1,000.
key=value matches exactly, key matches any
value, and repeated terms must all match (up to 10). Pass
agentSessionId=<session-id> instead to list the browsers an agent session
used.
Get downloaded files
Files the browser downloads are saved for you. List them, with download links that expire after 15 minutes:path, size, lastModified, and url. Pages hold up to 100
files (limit, default 50); pass nextCursor as cursor while hasMore is
true.
Playwright, Puppeteer, Selenium
Full connection guide and stop semantics.
Browser settings
Configure proxies, screen size, recording, and timeout.