Hi All,
I am able to launch Safari browser with appium in iPhone and i want to run my web tests in chrome please help me how to launch chrome with detailed steps.
Thanks.
Hi All,
I am able to launch Safari browser with appium in iPhone and i want to run my web tests in chrome please help me how to launch chrome with detailed steps.
Thanks.
@Aleksei do you know any idea? please help me to resolve it.
@Prashanth what are your current capabilities and what did you try to start Chrome with iOS?
Ps but in general hardly believe that it is possible.
this is my capabilities to launch safari?
DesiredCapabilities caps = new DesiredCapabilities();
caps.setCapability(“platformName”, “ios”);
//caps.setCapability(“platformVersion”, “10.2”);
caps.setCapability(“autoWebView”, “true”);
caps.setCapability(“platformVersion”, “11.2.6”);
//caps.setCapability(“deviceName”, “Venkatesh Akula’s iPhone”);
caps.setCapability(“deviceName”, “iPhone”);
//caps.setCapability(“udid”, “783db17940c506b837302cd60ad962b0ea69b366”);
caps.setCapability(“udid”, “e1152b17f4bb8988143094d2d4945829067788f0”);
caps.setCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT, 6000);
caps.setCapability(“browserName”, “safari”);//
caps.setCapability(“nativeWebTap”,true);
//caps.setCapability(MobileCapabilityType.AUTOMATION_NAME, “Appium”);
caps.setCapability(MobileCapabilityType.AUTOMATION_NAME, “XCUITest”);
driver = new IOSDriver(new URL(“http://127.0.0.1:4723/wd/hub”), caps);
driver.get(“https://m-fnpplus.fnp.com”);
wait=new WebDriverWait(driver,60);
//driver.manage().timeouts().pageLoadTimeout(30, TimeUnit.SECONDS);
driver.manage().timeouts().implicitlyWait(45, TimeUnit.SECONDS);
}
how can i launch Chrome browser?
and what is Webkit Process how can i use it?
This is not possible for now. Only Safari is supported on iOS.
Appium iOS do not support chrome just like safari browser. However, You can run your test with chrome on iOS just like any installed application. It is difficult ,slow and challenging but possible.
Complete video