Set Appium version

BrowserStack supports multiple versions of Appium server including latest releases. Use latest Appium versions to incorporate new features, enhancements, stability fixes into your tests executed on BrowserStack. If the Appium version is not explicitly specified, the default appium version is selected, depending on the OS and OS version. Make use of the capability browserstack.appium_version to set an explicit Appium version:

Capability Description Values
browserstack.appium_version Set the Appium version in your test script Android: 1.6.5, 1.7.1 , 1.7.2 , 1.8.0 , 1.9.1 , 1.10.1 , 1.11.1 , 1.12.1 , 1.13.0 , 1.14.0 , 1.15.0 , 1.16.0 , 1.17.0

iOS: 1.6.5 , 1.7.0, 1.7.1 , 1.7.2 , 1.8.0 , 1.9.1 , 1.10.1 , 1.11.1 , 1.12.1 , 1.13.0 , 1.14.0, 1.15.0 , 1.16.0 , 1.17.0

You can refer to our Appium Capability builder for more details.

Example:

DesiredCapabilities desiredCapabilities = new DesiredCapabilities();
desiredCapabilities.setCapability("browserstack.appium_version", "1.14.0");
var capabilities = {
	'browserstack.appium_version': '1.14.0'
}
DesiredCapabilities capability = new DesiredCapabilities();
capability.SetCapability("browserstack.appium_version", "1.14.0");
$capabilities = new DesiredCapabilities();
$capabilities->setCapability("browserstack.appium_version", "1.14.0");
desired_cap = {
	'browserstack.appium_version': '1.14.0'
}
desired_caps = {
    'browserstack.appium_version': '1.14.0'
}
Note: If you do not specify an Appium Version for your test, we automatically default to the version of Appium that is compatible with your selected OS and device combination. We keep on updating our default Appium versions to ensure stability of the tests for our users.