Can someone help me? I’m not able to locate the element and use the element in my scripts. Was using Appium Inspector at first but went to UI Automator Viewer. I can find the elements but when I run the scripts, it still cannot be found.
Also I’m using AppiumDriver<MobileElement> as the driver. Am I missing something? My I included the desired capability automationName and passed UiAutomator2 as the value. No problem in logging in but when arriving at that menu, it does not detect the elements.
So I need switching to web view and back to native view whenever I encounter something like this right? I can use find by xpath also right? And also, are there like any requirements for switching to webview or some sort given I use AppiumDriver? Do I need like WebDriver or AppiumDriver will be sufficient?
it all depends on your app. if you have many webviews that go one by one you can switch one time and follow. possible ‘autoWebview’ will make it even easier without any work on our side. try. continue use AppiumDriver.
It’s debugggable under web view but I think it’s because in web view, those elements are inside nav tags. I’m not entirely sure if it’s an issue but I can’t click or check any elements under it.