Is it possible to switch to webview context when using the SeeTestIOSDriver
to run tests with Appium Studio? I am running the below code and it only
finds the NATIVE context.
Set contextNames = driver.getContextHandles();
for (String contextName : contextNames) {
if (contextName.contains("WEBVIEW")) {
driver.context(contextName);
}
}
I can’t execute any of my test scripts for my hybrid app because of this.
Eg: cannot execute:
driver.findElement(By.cssSelector(""))