Is there any way to launch Chrome Browser in iOS

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

2 Likes

My understanding is that Chrome Chrome for iOS is open source, here is the announcement.

The question I have is:

  1. Is the open-sourced Chrome app code same as the App Store version of Chrome app? Am I missing something here?

  2. Why Appium doesn’t support Chrome on iOS?