Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

你好有办法通过ADB或者UIAutomator来实现找到WebView中的text吗? #4

Open
bigbigpeng3 opened this issue Dec 13, 2017 · 4 comments

Comments

@bigbigpeng3
Copy link

No description provided.

@gb112211
Copy link
Owner

adb没有办法,UIAutomator 2.0是可以支持webview的

@bigbigpeng3
Copy link
Author

UIAutomator,有一些app是抓取不到webview的控件,什么TalkBack都尝试过了。举个例子,京东的一些页面。那就无解了。。。吗?点击坐标毕竟是无奈之举。

@gb112211
Copy link
Owner

可以去了解下appium这个框架,它支持webview的测试

@bigbigpeng3
Copy link
Author

看样子没有太好的解决方案了,UIAutomator2.0 能够运行到手机上(root)。appium应该不行,谢谢你了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants