
Browserbase Node SDK
https://github.com/browserbase/sdk-node- Category
- Developer Tools
- Rank
- No. 885Tools index
Previous survey · No. 890 ·
- Pricing
- Open Source
- Type
- TOOL
- Builder
- browserbase
- GitHub
- 64 stars
- Latest release
- v2.19.1
- Date
About
Official Node.js SDK for Browserbase — programmatically control cloud browsers for scraping, automation, and AI agents.
What it does
A typed client that turns Browserbase REST endpoints into familiar TypeScript and JavaScript resources. It manages authentication, request construction, response parsing, uploads, errors, retries, timeouts, and runtime-specific fetch behavior.
Why it's ranked here
This is a practical integration layer with unusually broad runtime support and strong control over transport behavior. Generated API types reduce guesswork, while raw responses and custom requests leave an escape hatch when the documented surface falls behind.
What's good
Request and response types include editor documentation. Uploads accept files, streams, fetch responses, buffers, typed arrays, and async iterables. Errors preserve status, headers, and response bodies. Retries, timeouts, headers, query defaults, proxies, and fetch implementations remain configurable.
Tradeoffs
It is an API client, not a browser-driving framework. Consumers still need Browserbase credentials and must supply another tool for page interaction. Types provide guidance but no runtime request validation. Minor releases may include incompatible static-type or internal changes.
How to use it well
Use it in TypeScript or JavaScript services that create and manage Browserbase sessions, projects, agents, contexts, extensions, certificates, search, or fetch operations. Pair it with a separate browser automation library when the workflow must click, type, navigate, or inspect pages.
Technical notes+
README.md documents installation through @browserbasehq/sdk, automatic retries, one-minute default timeouts, upload inputs, raw-response access, custom HTTP requests, and supported runtimes. package.json publishes CommonJS and ESM entry points with TypeScript declarations and conditional shim exports. src/index.ts builds the authenticated Browserbase client over Core.APIClient, exposes resource groups, reads API configuration from environment variables, and sends X-BB-API-Key. src/core.ts implements request serialization, parsing, response wrappers, transport injection, retries, timeouts, and HTTP agent handling. src/error.ts maps connection failures and HTTP statuses to dedicated error classes. src/uploads.ts normalizes files, responses, streams, binary values, and async iterables into multipart form data. src/shims/web.ts and src/shims/node.ts provide explicit runtime selection.
Observed
- License
- Apache-2.0
- Primary language
- TypeScript
- Install surface
- Public npm package @browserbasehq/sdk
- Module packaging
- CommonJS and ESM builds with TypeScript declarations
- Interface
- Library client for the Browserbase REST API
- Runtime support
- Node.js, web browsers, Deno, Bun, Cloudflare Workers, Vercel Edge Runtime, Jest node environment, and Nitro
- Unsupported platform
- React Native is not supported
- Generation
- Client source is generated from an OpenAPI specification by Stainless
Read from README.md, package.json, src/index.ts, src/core.ts, src/error.ts, src/uploads.ts, src/version.ts, src/resource.ts, src/resources.ts, src/shims/web.ts, src/shims/node.ts, src/_shims/index.js, src/_shims/index.mjs, src/_shims/index.d.ts, src/resources/index.ts.
What it can do
Launch cloud browser sessions
Browser configuration parameters → Active browser session instance
Scrape web page data
Target URL and extraction rules → Structured data from web pages
Automate web interactions
Sequence of browser actions (clicks, form fills, navigation) → Completed automated workflow results
Control browser remotely
Browser commands and scripts → Executed browser operations and responses
Capture screenshots
Web page URLs or browser state → Image files of rendered pages
Execute JavaScript in browser
JavaScript code and target page context → Script execution results and return values
Manage browser sessions lifecycle
Session creation/termination commands → Session status and resource cleanup confirmation
Tags
Tech Stack
Media
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.