openatx / uiautomator2

Android Uiautomator2 Python Wrapper
MIT License
6.17k stars 1.35k forks source link

Webview can't inspect #979

Open vmolostvov opened 1 month ago

vmolostvov commented 1 month ago

Hey sir! How are you? First of all want to thank you for this amazing python library!

I have some problem with layout. Trying to inspect dextools android application using uiauto.dev but hierarchy not displayed (I mean I can't get to any element from the layout). Other apps are displayed well. Could this be some kind of protection against scraping? If you have any idea please help!

I'm using Android Studio 2023.3 macOS arm64; my emulator config: Medium Phone API 34 Android 14.0

Also tried installing dextools app from .apk and from play market and also tried in WEditor, same results.

Снимок экрана 2567-05-23 в 21 13 49 Снимок экрана 2567-05-23 в 21 15 09

codeskyblue commented 1 month ago

It looks can not inspect the webview element. Use ocr is better

vmolostvov commented 1 month ago

Exactly sir I can't get into webview element. But I need to automate some actions in this app (push the search button, paste contract address, add to favorites, etc). How can I do it without inspectin webview element? What do you mean by ocr?