
Browserbase Playbook
https://github.com/browserbase/playbook- Category
- AI Agents
- Rank
- No. 1496Tools index
Previous survey · No. 1501 ·
- Pricing
- Open Source
- Type
- TOOL
- Builder
- browserbase
- GitHub
- 142 stars
- Date
About
Templates, guides, and best practices for building browser automation agents with Browserbase.
What it does
A runnable example collection for controlling cloud browsers from TypeScript or Python. It shows session setup, Playwright connections, model-guided Stagehand actions, structured extraction, proxy routing, captcha handling, persistent contexts, recordings, logs, and debugging.
Why it's ranked here
The breadth makes it a useful starting bench for Browserbase work. It covers both low-level session management and complete automation scenarios. The verdict is mixed because several samples rely on fixed delays, absolute selectors, live websites, or partially commented workflows.
What's good
Parallel TypeScript and Python utilities make core session concepts easy to compare. Examples expose practical controls such as fingerprints, geolocation, domain-specific proxy routing, metadata, recording suppression, persistent contexts, extension loading, structured extraction, and session replay links.
Tradeoffs
Running the examples requires a Browserbase account, project credentials, and language-specific dependencies. Some Stagehand flows also need model-provider keys. Advanced stealth is restricted to the Scale plan. Hardcoded absolute selectors, fixed waits, and target-specific assumptions make several workflows fragile.
How to use it well
Use it when prototyping Browserbase sessions or borrowing a focused configuration for an existing TypeScript or Python automation project. Start with the shared utilities, then adapt the nearest Playwright or Stagehand scenario. It does not replace production retry logic, selector maintenance, or workflow-specific validation.
Technical notes+
node/useful_browserbase_functions.ts combines @browserbasehq/sdk, fetch, and Axios for session, context, project, usage, log, recording, debug, proxy, fingerprint, and captcha operations. python/useful_browserbase_functions.py mirrors much of that surface through the Python SDK and requests, although its no-captcha example uses solveCaptchas while neighboring Python settings use snake case. node/playwright/research/bookSearch.ts connects Playwright over CDP and extracts DOM data. node/stagehand/research/pullNews.ts uses Stagehand with a Zod extraction schema. node/stagehand/research/polymarket.ts and node/stagehand/complete_task/workday.ts demonstrate generated, model-backed workflows with explicit XPath selectors and cleanup in finally. guides/1password/node/createExtension.ts uploads an extension archive, while guides/1password/python/run_stagehand.py loads that extension into a Stagehand session.
Observed
- Languages
- The supplied examples use TypeScript and Python.
- Installation surface
- The README instructs users to clone the repository, run npm install for Node examples, or install Python requirements in a virtual environment.
- Runtime requirements
- Node.js 18+ and Python 3.8+ are listed as prerequisites.
- Interfaces
- Examples use Browserbase SDKs, direct Browserbase REST requests, Playwright over CDP, and Stagehand.
- Credentials
- A Browserbase API key and project ID are required; Stagehand examples may also require a model-provider API key.
- Automation coverage
- The supplied code includes sessions, contexts, proxies, fingerprints, captchas, extensions, recordings, logs, debugging, DOM extraction, and schema-based extraction.
Read from README.md, node/useful_browserbase_functions.ts, python/useful_browserbase_functions.py, node/stagehand/_tools/blank.ts, guides/1password/node/stagehand.ts, node/playwright/task/tikTokForm.ts, guides/1password/node/playwright.ts, node/stagehand/research/pullNews.ts, node/playwright/task/eharmonyForm.ts, node/stagehand/research/apptSearch.ts, node/stagehand/research/polymarket.ts, node/playwright/research/bookSearch.ts, node/stagehand/complete_task/workday.ts, guides/1password/node/createExtension.ts, guides/1password/python/run_stagehand.py.
What it can do
Provide browser automation templates
User's automation requirements → Pre-built automation code templates
Generate browser automation scripts
Automation specifications and parameters → Executable browser automation code
Create web scraping workflows
Target website URLs and data requirements → Data extraction automation scripts
Build form automation agents
Form specifications and input data → Automated form filling scripts
Design page testing automation
Web page URLs and test criteria → Automated testing workflows
Configure browser agent settings
Browser preferences and automation parameters → Optimized browser automation configuration
Tags
Tech Stack
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.