appium-desktop icon indicating copy to clipboard operation
appium-desktop copied to clipboard

Sometimes the detailed elements cannot be obtained

Open chenxiaolao opened this issue 3 years ago • 1 comments
trafficstars

Env:
emulator ld3.0 https://www.ldmnq.com/other/version-history-and-release-notes.html?log=3&n=6000 Android version 5.1.1 appium 1.22

Issues: When the simulator is powered on and FB is started, sometimes detailed elements cannot be obtained, sometimes they can. It is also impossible to obtain details by using uiautomator dump to view xml. Restarting FB has no effect. It can only restart the simulator and may not be effective.

use https://github.com/hyb1996/Auto.js After the layout analysis in, restart FB again to obtain the detailed elements normally. 100% success。

image

image

image

chenxiaolao avatar Oct 08 '22 08:10 chenxiaolao

Could https://github.com/appium/appium-uiautomator2-driver#elements-cannot-be-found help?

KazuCocoa avatar Oct 09 '22 19:10 KazuCocoa