I also tried switching to web view on the main page elements and it’s working just fine. The ones in the menu thingy on the side are the ones that only can’t be clicked.
if it debugabble you should be able to connect it using Chrome (for android) or Safari (for iOS) from your mac while having phone connected.
I can already use web view and native view on other elements. Only the elements in the menu thing are the ones that can’t be interacted with in the script. Even using Web XPath or Android XPath.
you mean you cant find or you can find but cant tap on them?
I found the element addresses using Chrome or using UI Automator Viewer but in my script, I can’t check if it’s displayed and also I can’t click them.
My bad. Was initializing the wrong xpaths. Now got a new error:
java.lang.Exception: The element identified by ‘9343394f-3448-4e55-a236-38ed2ff7d01d’ is not present in the cache or has expired. Try to find it again
you should find element again. something wrong in our code. provide it example.
It’s working fine now Aleksei. Thank you for your help!
Switching to webview and switching to native works best for me. Just for the others who will read this thread. Because some elements don’t show on Appium Inspector. It’s best to switch to webview as long as the application is a hybrid one.