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.
created
Jul '18last reply
Jul '18- 5
replies
- 793
views
- 4
users
- 2
likes
- 4
links
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.setCapability1(“platformVersion”, “10.2”);
caps.setCapability(“autoWebView”, “true”);
caps.setCapability(“platformVersion”, “11.2.6”);
//caps.setCapability1(“deviceName”, “Venkatesh Akula’s iPhone”);
caps.setCapability(“deviceName”, “iPhone”);
//caps.setCapability1(“udid”, “783db17940c506b837302cd60ad962b0ea69b366”);
caps.setCapability(“udid”, “e1152b17f4bb8988143094d2d4945829067788f0”);
caps.setCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT, 6000);
caps.setCapability(“browserName”, “safari”);//
caps.setCapability(“nativeWebTap”,true);
//caps.setCapability1(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.com3”);
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?