Has anyone tried or tested this? I’ve been attempting to get it to work for some time and I always get a chromedriver redirect failure attempting to switch contexts. I decided to try a simpler test with a small app that has a single webview. It properly switches context as expected and allows automation.
The core issue may be in the fact that the app has multiple webviews. driver.contexts reveals multiple contexts. I have tried switch to them both and they always fail.
My suggestion is to try on the latest release of Android 5 (currently 5.0.1 or 5.0.2). In my experience, the newer android tends to behave better with regards to webviews.
I am using appium and automating one web application on android tablet
when i click on one link to will open second tab
by using(Selenium) driver.switchTo.window() method is not working
so how can i pass driver control to second tab in appium(mobile webapplication testing)