- Reduce flaky tests with predictable, isolated browser sessions
- Debug failures with built-in session recordings and screenshots
- Scale test runs across concurrent sessions without managing infrastructure
- Test from different locations and viewports with proxies and configurable browser settings
Template
Get started quickly with a ready-to-use testing template.Website Link Tester
Clone, configure, and run in minutes
Example: Testing a login flow
To demonstrate automated testing with Browserbase, this example validates a login flow against a sample application.Code example
- Node.js
- Python
Configuration options
Set up a consistent environment
Test in a predictable environment with the same Chrome version every time.- Node.js
- Python
SDK
Test from different locations
Test how your app behaves from different locations:- Node.js
- Python
SDK
Complete configuration options
Set the viewport, operating system, and full list of configuration options to customize your test environment.Best practices
Record sessions
Every session is automatically recorded and available in the Browserbase dashboard. With Session Recording, you can watch the exact session execution to debug failures efficiently.- Node.js
- Python
Use metadata to organize tests
Add metadata for easier organization:- Node.js
- Python
SDK
Capture screenshots
Capture screenshots at critical points for easier debugging.- Node.js
- Python
Next steps
Session Inspector
Learn how to use the Session Inspector to debug test failures
Session Metadata
Organize and query your test sessions effectively
Proxies
Test your application from different geographic locations
Screenshots and PDFs
Capture visual evidence during test execution