Hello I’m new here and I need help.
I can not change the context to WebView under iOS8.
Under android it works fine.
I tried that with the following code.
Set<String> contextNames = driver.getContextHandles();
for (String contextName : contextNames) {
System.out.println(contextName);
if (contextName.contains("WEBVIEW")) {
driver.context(contextName);
}
}
WebElement inputField = driver.findElement(By.id("username"));
inputField.sendKeys("HALLLLLLLLO");
Under aOS I can switch the context to webview in the appium gui. I can select “no context”, “NATIVE APP” and “WEBVIEW”.
Under iOS is that not possible.
Thanks