Skip to main content

๐Ÿš€ Get Started in 3 Steps

Get up and running with BrowserTest SDK in just a few minutes.

Step 1: Install the SDK

Step 2: Get Your API Key

  1. Visit BrowserTest Dashboard
  2. Sign up for an account
  3. Navigate to API Keys section
  4. 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.