@browserbasehq/sdk package is the easiest way
to connect to and control headless browsers running on Browserbase.
Installation
Basic usage
Here’s an example using the Browserbase Node.js SDK to create and connect to a session with Playwright:Session configuration
Pass configuration options when creating a session to customize browser behavior.All configuration options
Proxy configuration
Configure proxies as a boolean or as an array for more control:Common configuration examples
Examples
Quickstart examples using CAPTCHA solving, proxies, extensions, and more
npm package
View the package on NPM
SDK reference
View the complete SDK reference documentation