I’m currently using Appium and have hit an issue with regard to finding the WebView context. Using UIAutomator I can inspect the WebView and see its child elements, however I cannot access any of these by using CSS selector/ XPATH because I cannot switch to WebView.
I have tried looping over driver.getContextHandles(), however this simply returns “NAVTIVE_APP”.
Android version being used is 5.0.1 and the latest version of Appium.
Can anyone shed any light as to why this may be happening?