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

Configure Test Running Options

Learn how to configure a list of browsers and devices, and organize tests.

Run tests on multiple browsers and devices

With BrowserStack’s JS testing API, you can run all your JS tests on 3000+ desktop and real mobile browsers. If you are using a test runner or the JS testing API directly, here are the string values you’d need to configure to be able to run tests on the required browsers.

Use the drop-down menus, select a combination of operating system, browser, and screen resolution or a device.

karma.conf.js
 
Protip: If browser_version capability is not set, the test will run on the latest version of the browser set by browser capability.

Organize your tests for better reporting

You can organize your automated tests by projects and builds by using the project, build options. You will be able to search your tests and builds using these values on the Automate dashboard.

It is also recommended that you use the build ID that’s on your CI/CD platform in the build option as it helps you debug easily later.

karma.conf.js
config.set({
  // global config of your BrowserStack account
  browserStack: {
    username: 'YOUR_USERNAME',
    accessKey: 'YOUR_ACCESS_KEY',
    'build': 'build #1',
    'project': 'New Marketing Site'
  },
  ...
})

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

Is this page helping you?

Yes
No

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