Appium Automation tool Desired Capabilities to run on Real Device
public WebDriver driver = null;
DesiredCapabilities capabilities = new
DesiredCapabilities();
capabilities.setCapability("device",
"iPhone");
capabilities.setCapability("udid",
"1234567890abcdef");
capabilities.setCapability("bundleid",
"com.example.appiumiphonetest");
capabilities.setCapability("ipa",
"MyiOSApp.ipa");
driver = new RemoteWebDriver( new
URL("http://127.0.0.1:4723/wd/hub"), capabilities);
Comments
Post a Comment