BrowserStack Docs

A fresh look for capability generator

We are excited to unveil a fresh look for capabilities, along with SDK configuration and improved navigation. Hope you love it as much as we do.

Capabilities

Capabilities are a series of key-value pairs that allow you to configure your tests on the BrowserStack cloud grid.

Use our Capabilities Generator to configure your test suite in the language of your choice. The capabilities generator lets you select from a comprehensive set of options you can use to customize your tests on the BrowserStack Cloud grid. You can also find out more about each capability by scrolling to our Capabilities Reference section.

Capability generator

Integration method

BrowserStack SDK

BrowserStack SDK is a plug-and-play solution that enables you to run your entire test suite with no code changes. Using the SDK reduces the integration time from hours to a few minutes.

Core Capabilities

Platform

Select a Platform name to choose the devices from below.

Parallel Thread #1

Parallel Thread #2

Parallel Thread #3

You can now use regular expressions for device and OS version capabilities on BrowserStack App Automate.

Parallels per platform

The number of parallel threads to be used for each platform set.

Appium Version

Application (.apk/.aab)

Specify the app to test on:

Appium Capabilities

Project details

browserstack.yml

userName: YOUR_USERNAME
accessKey: YOUR_ACCESS_KEY
platforms:
  - platformName: android
    platformVersion: "12.0"
    deviceName: Samsung Galaxy S22 Ultra
  - platformName: android
    platformVersion: "14.0"
    deviceName: Google Pixel 8 Pro
  - platformName: android
    platformVersion: "13.0"
    deviceName: OnePlus 11R
buildIdentifier: ${BUILD_NUMBER}

Capabilities Reference

Appium - BrowserStack SDK

BrowserStack specific capabilities
userName For running your Selenium and Appium tests on BrowserStack it requires a username and an access key for authenticating the user. This capability can be used to set the username.
accessKey For running your Selenium and Appium tests on BrowserStack it requires a username and an access key for authenticating the user. This capability can be used to set the access key.
framework Specify the language framework for your test.
app Specify the app you want to test.
appVersion Configure which version your test needs to run on.
parallelsPerPlatform Specify the number of parallel threads to be used for each platform set.

Mobile capabilities

SDK-Capability Values
deviceName Specifies a particular mobile device for the test environment.
platforms Specify all the device combinations you want to test on.
platformName Specify all the device combinations you want to test on.
platformVersion Specifies a particular mobile device for the test environment.
deviceOrientation Set the screen orientation of the mobile device.
customNetwork Required if you want to simulate the custom network condition.
networkProfile Required if you want to simulate different network conditions.

Test Configuration Capabilities

SDK-Capability Values
projectName Allows the user to specify a name for a logical group of builds.
buildName Allows the user to specify a name for a logical group of tests.
buildIdentifier A unique identifier to logically group multiple test sessions together.
browserstackLocal Use this capability to test your locally hosted websites on BrowserStack by setting the value to true.
forcelocal Resolve all your traffic via BrowserStack Local tunnel.
debug Set to true if you want to generate screenshots at various steps in your test.

Miscellaneous capabilities

SDK-Capability Values
appProfiling Enable detailed app performance profiling.
interactiveDebugging Interact, and debug any ongoing test session.