Learn about the capabilities that you can use to run tests on a particular browser / OS.
Following are a list of capabilities which can you can use to specify which browser / os / device combination you want to run your test on. You can create a unique combination from either the BrowserStack specific capabilities or Selenium capabilities.
Here is the list of custom capabilities offered by BrowserStack to easily specify the required browser and OS on desktop.
||Browser you want to test on||
||Browser version you want to test||By default, we run tests on latest stable version of specified browser. View the list of supported browser versions.
You can also use
||OS you want to test on||
||Version of the OS to test on||Windows:
Here is the list of custom capabilities offered by BrowserStack to easily specify the required device and OS version in mobile. Note that you will need to be on the Automate Mobile plan to be able to run tests on mobile and tablet devices.
||Mobile or tablet to test on||The device you want to test on. View the list of devices we support.|
||Version of the OS to test on||Check the OS versions available for the specified device here|
Here is a list of capabilities offered by Selenium to specify the browser and OS.
If you are writing your tests from scratch, we recommend you use the
BrowserStack-specific capabilities as we will add new features (like specifying
latest flags) there, but won’t change the behaviour of the default
||OS you want to test||MAC, WIN8, XP, WINDOWS, ANY, ANDROID.
||Browser you want to test||firefox, chrome, internet explorer, safari, opera, edge, iPad, iPhone, android
||Browser version you want to test||View list of browser versions to update this field.
Default: Latest stable version of browser selected.
browserNameare both defined,
browserhas precedence (except if
ipad, in which case
browseris ignored and the default browser on those devices is selected).
versionare both defined,
platformare both defined, os has precedence.
os_versioncan only be defined when
oshas been defined.
os_versioncannot be defined together, if
oshas not been defined.
ANYif given to any capability that supports that value is same as the capability preference not specified.
Chromeon desktop when no browser is passed by the user or the selenium API (implicitly).
Contact our Support team for immediate help while we work on improving our docs.