You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently getting this error using SafarLauncher with real iPhone device. Can you please help?
014-07-23T20:10:36.985Z - debug: [REMOTE] Getting WebKitRemoteDebugger pageArray
2014-07-23T20:10:36.995Z - warn: Could not find any webviews yet, retrying
I increased the delay to 20 seconds , I am getting to the url after 20 seconds .
my code is as follows:
private WebDriver remoteWebDriver;
@Test
public void runstuff() throws InterruptedException {
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(CapabilityType.BROWSER_NAME, "safari");
capabilities.setCapability("platformName", "iOS");
capabilities.setCapability("deviceName", "iPhone");
capabilities.setCapability(CapabilityType.PLATFORM, "Mac");
try {
System.out.println("before");
remoteWebDriver = new RemoteWebDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);
System.out.println("after........");
}
System.out.println("Running First Test");
Thread.sleep(30000);
element.submit();
System.out.println("Page title is: " + remoteWebDriver.getTitle());
remoteWebDriver.quit();
}
}
I did try to use window handles , but that did not work.
The text was updated successfully, but these errors were encountered:
ArchanaChalapalle
changed the title
SafariLauncher - unable to get any elements after navigating in the browser
SafariLauncher - Unable to find any web views
Jul 23, 2014
I am currently getting this error using SafarLauncher with real iPhone device. Can you please help?
014-07-23T20:10:36.985Z - debug: [REMOTE] Getting WebKitRemoteDebugger pageArray
2014-07-23T20:10:36.995Z - warn: Could not find any webviews yet, retrying
I increased the delay to 20 seconds , I am getting to the url after 20 seconds .
my code is as follows:
private WebDriver remoteWebDriver;
remoteWebDriver.get("http://www.google.com ");
WebElement element1 = remoteWebDriver.findElement(By.id("gb-main"));
System.out.println(element1);
WebElement element = remoteWebDriver.findElement(By.name("q"));
element.sendKeys("Cheese!");
}
}
I did try to use window handles , but that did not work.
The text was updated successfully, but these errors were encountered: