Skip to main content

Select automation engine

You can override the default automation engine to execute your appium tests on BrowserStack. In order to change the automation engine, use the automationName capability that is provided by Appium.

Capability OS Values
automationName Android UIAutomator2, Appium, Espresso (Only supported for appium versions 1.14.0 and above)
Default: UIAutomator2
  iOS XCUITest

Example:

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

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