Hi,
Have a real device with iOS 8.1 and Xcode6.1.1 on OSX 10.10.1 and Appium 1.3.6.
Finally I succeed with launching SafariLauncher and stuck on the following problem:
Session between tests is not cleared, first test starts perfectly, but next one start with already logged in user:( Is there some way to fix that?
Password autofill is disabled in Safari.
driver.manage().deleteAllCookies(); and capabilities.setCapability("ensureCleanSession", true); has no effect.
Connect appium to the grid with the following command:
appium -a 111.22.333.44 -p 4723 -U 9f4165489e2b87ddfbda3s30e3708f8 --device-name iPad --platform-name iOS --platform-version 8.1 --nodeconfig /Users/qa/Desktop/ios.json --safari --browser-name Safari
Here is my json file:
{
"capabilities":
[
{
"browserName": "Safari",
"deviceName": "iPad",
"version": "8.1",
"maxInstances": 1,
"platformName":"iOS",
"udid":"9f4165489e2b87ddfbda3s30e3708f8"
}
],
"configuration":
{
"cleanUpCycle":2000,
"timeout":30000,
"maxSession": 1,
"register": true,
"registerCycle": 5000,
"hubPort": 4444,
"proxy":"org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
"hubHost": "111.22.333.44"
}
}