Skip to main content
Transform your testing process with: Real Device Features, Company-wide Licences, & App Percy

BrowserStack SDK Configurator

A guide to configure your BrowserStack SDK. Run tests on BrowserStack’s real device cloud of 3000+ devices and browsers.

App Automate

The complete list of capabilities supported by BrowserStack SDK can be found in the browserstack.yml gist file on GitHub.

Copy icon Copy snippet

Set access credentials

Set userName and accessKey as env variables or directly in the config file.

Set app to be tested

The app property determines the app to be tested. You can upload an Android app (.apk or .aab file) or an iOS app (.ipa file) from your local filesystem.


Set the path to your app. Or, if you have already uploaded your app, provide one of the other acceptable app property values here

Enable BrowserStack Local

Test apps with local/staging API servers

Test apps locally with local/staging API servers

BrowserStack’s Local Testing feature connects with locally hosted API servers to run your apps

Learn more

Set platforms to test on

Set the devices you want to test under the platforms object.

Parallel thread #1
Parallel thread #2
Parallel thread #3

Set number of parallel threads per platform

The parallelsPerPlatform property determines the number of parallel threads to be executed. BrowserStack’s SDK runner will select the best strategy based on the configured value.

Example 1: If you have configured 3 platforms and set parallelsPerPlatform as 2: a total of 6 (2 x 3) parallel threads will be used on BrowserStack.

Example 2: If you have configured 1 platform and set parallelsPerPlatform as 15: a total of 15 (1 x 15) parallel threads will be used on BrowserStack.

Organizing your test suite

Our projectName, buildName, and sessionName capabilities help with organizing your tests on BrowserStack Dashboard.

sessionName is the name of your test sessions and is automatically picked from your test class/spec name. It doesn’t need to be set manually when using the BrowserStack SDK.

Build Name
Project Name

Additional features

By default, BrowserStack provides prettified session logs, screenshots on every failed selenium command, and a video of the entire test. Additionally, you can enable the following features:

Visual logs

Enables screenshots for every selenium command ran

Network logs

Enables network capture for the session in HAR format. Reduces session performance slightly


We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked

Thank you for your valuable feedback

Talk to an Expert
Download Copy