I’m trying to launch an ios app in real device of saucelabs and added below capabilities
DesiredCapabilities dc=new DesiredCapabilities();
dc.setCapability(“platformName”,“iOS”);
dc.setCapability(“udid”,“0000012GH4”);
dc.setCapability(“platformVersion”,“13.2”);
dc.setCapability(“bundleID”,“com.test”);
IOSDriver driver=new IOSDriver (new URL(URL),dc);
Once the execution starts it gets failed with error - 'browserName cannot be set together with ‘bundleId’ capability" . Although i m not passing the browsername as the capability but in the test execution logs i can browserName is itself setting to value ‘safari’. Is there any way i can unset or tell the test to not include browsername?