Select an automation engine

You can override the default automation engine used to execute your appium tests on BrowserStack. In order to change Appium’s automation engine, use the automationName capability.

Capability OS Values
automationName Android UIAutomator2, Appium
Default: UIAutomator2
  iOS XCUITest

Example:

DesiredCapabilities desiredCapabilities = new DesiredCapabilities();
desiredCapabilities.setCapability("automationName", "Appium");
var capabilities = {
	'automationName': 'Appium'
}
DesiredCapabilities capability = new DesiredCapabilities();
capability.SetCapability("automationName", "Appium");
$capabilities = new DesiredCapabilities();
$capabilities->setCapability("automationName", "Appium");
desired_cap = {
	'automationName': 'Appium'
}
desired_caps = {
    'automationName': 'Appium'
}