๐ Get Started in 3 Steps
Get up and running with BrowserTest SDK in just a few minutes.Step 1: Install the SDK
Install via npm
Install via npm
Install via yarn
Install via yarn
Install via pnpm
Install via pnpm
Step 2: Get Your API Key
- Visit BrowserTest Dashboard
- Sign up for an account
- Navigate to API Keys section
- Create a new API key
Keep your API key secure and never commit it to version control. Use environment variables instead.
Step 3: Write Your First Code
๐งช Test Your Setup
Run this test script to verify everything works:๐ Project Structure
For a typical project, organize your code like this:๐ง Configuration
Create a service wrapper for easy usage throughout your app:๐ฏ What Next?
Take Screenshots
Learn about different screenshot types and options.
Agentic Testing
Run tests with natural language instructions.
Batch Operations
Process multiple operations efficiently.
Error Handling
Handle errors and edge cases properly.
๐ Need Help?
Join our Community
Ask questions and get help from the community.
