问题
I am not able to find the elements from android.webkit.webview package using java appium script.
How to get the userText field and password field locators.so that i can pass the value to UI using the Appium script.
回答1:
I have seen this problem with UIAutomator so many times. Try going to some other screen, fetch the elements of that screen and then come back to this screen again. Try to fetch the elements again and should work.
来源:https://stackoverflow.com/questions/32398841/cant-find-an-element-on-a-webview-page-of-an-android-native-app-using-appium