@browserbasehq/sdk package is the easiest way
to connect and act upon headless browsers running on Browserbase.
Installation
Basic usage
Here is an example using the Browserbase Node.js SDK to create and connect to a session using Playwright:Session Configuration
When creating a session, you can pass various configuration options to customize the browser behavior.All Configuration Options
Proxy Configuration
You can 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