appium/appium-uiautomator2-server

Can I add an API to obtain the adb shell uiautomator dump? The wechat mini program I'm working on needs to obtain the dump very much.

TesterWa opened this issue · 5 comments

Can I add an API to obtain the adb shell uiautomator dump? The wechat mini program I'm working on needs to obtain the dump very much.

adb shell您可以通过https://github.com/appium/appium-uiautomator2-driver/#mobile-shell调用任意[](https://github.com/appium/appium-uiautomator2-driver/#mobile-shell)

Since the instance of uiautomator has been initialized by the appium reflection, the command line tool of UIautomator can no longer be called through mobile: shell.

Then, you can use appium:disableSuppressAccessibilityService to not suppress accessibility service by Android framework

然后,您可以使用appium:disableSuppressAccessibilityServiceAndroid 框架不抑制辅助功能服务

So does appium desktop 1.22.0 support this configuration?

i think so