Build with cloud browsers
Browserherd gives developers secure, isolated Chromium sessions through standard browser automation libraries. Connect with Playwright, Puppeteer, Selenium, or any Chrome DevTools Protocol client.
Launch your first session
Create an API key, build a WebSocket endpoint, and open a page with Playwright.
Read the quickstart →IntegrationConnect Playwright
Use connectOverCDP to run existing Playwright workflows on Browserherd.
Connect Puppeteer
Pass the Browserherd WebSocket URL as Puppeteer’s remote browser endpoint.
View Puppeteer guide →ReferenceHandle errors
Understand authentication, validation, concurrency, timeout, and infrastructure errors.
View error reference →How Browserherd works
Your code connects to a managed Chromium session over a secure WebSocket. Browserherd creates an isolated runtime, applies your session configuration, and keeps the browser available until you disconnect or the configured TTL expires.
wss://connect.browserherd.com?token=YOUR_API_KEY&sessionTTL=900WSS- Authenticate with the project API key from your Browserherd dashboard.
- Configure the session using query parameters such as region, timeout, recording, profile, and viewport.
- Connect with Playwright, Puppeteer, Selenium, or a CDP client.
- Close the browser when work is complete so usage stops immediately.
Your first connection
Install the lightweight Playwright package and replace the local browser launch with a Browserherd endpoint.
npm install playwright-coreimport { chromium } from "playwright-core";
const endpoint = "wss://connect.browserherd.com" +
"?token=YOUR_API_KEY&sessionTTL=900®ion=us-east-1";
const browser = await chromium.connectOverCDP(endpoint);
const context = browser.contexts()[0];
const page = await context.newPage();
await page.goto("https://example.com");
console.log(await page.title());
await browser.close();Core concepts
| Concept | Description |
|---|---|
| Project | Groups API keys, usage, browser sessions, and billing for a workload or team. |
| Session | One isolated Chromium runtime created when your client connects. |
| Profile | Optional persisted browser state that can be reused across sessions. |
| Recording | Optional visual capture used for debugging and session replay. |
| Browser time | Usage measured while a cloud browser session remains connected and running. |