Browser automationAdvancedDocs-checked, not yet hands-on tested
Cloud browser agent at scale
Run many browser sessions in the cloud for scraping or workflows.
Starter prompt
Write a Stagehand script that opens <site>, finds <data>, and returns JSON matching this schema: <schema>. Retry once on failure and log each step.
Config
agent.ts
// unverified: check the current Stagehand API in its docs
import { Stagehand } from "@browserbasehq/stagehand";
const stagehand = new Stagehand({ env: "BROWSERBASE" });
await stagehand.init();
// await page.act("click the pricing link") ...Setup steps
- Create a Browserbase account and API key.
- Install Stagehand.
- Start with one page, then parallelize.
Why this works
Hosted browsers handle concurrency and proxies so your agent code stays small.
Watch out
Respect site terms and robots rules.
Quick answers
How much does this setup cost per month?
$20–$99/mo. Browserbase Developer $20 (100 browser hours) or Startup $99 (500 hours). Model tokens are extra.
Which tools does it use?
Browserbase + Stagehand. Model: Your choice; Stagehand works with major model providers.
What should I watch out for?
Respect site terms and robots rules.
Related loadouts
Compare the gear: Browser automation for agents tier list