摘要: os.popen('adb shell dumpsys activity activities ').read()os.popen('adb shell dumpsys window windows | findstr mFocusedApp').read() 阅读全文
posted @ 2020-05-20 16:53 爱洗澡的猫妹 阅读(470) 评论(0) 推荐(0)
摘要: 如果当前页面有这个元素的时候很快可以找到,如果是当前页面没有的话,就会遍历全部的层级树,这样就会很耗时 解决方案: 以下是性能由高到低的排序,尽可能选择Class Class NameAccessibility IdLink TextPredicateClass ChainXPath 阅读全文
posted @ 2020-05-20 16:39 爱洗澡的猫妹 阅读(383) 评论(0) 推荐(0)