AirtestProject / Poco-SDK

https://github.com/AirtestProject/Poco
Apache License 2.0
279 stars 159 forks source link

wait_for_any代码卡死 (vivo手机上) #87

Open mp55 opened 3 years ago

mp55 commented 3 years ago

pocofw.py 里的wait_for_any方法 等待装包以后的确认安装界面,有几率代码卡死,执行不下去 for obj in objects: 这个循环遍历的时候,看log是 卡这一行if obj.exists():

调用代码: edit_text = pocoAndroid(type='android.widget.EditText')
install_btn = pocoAndroid("android:id/button1")
wait_list = [edit_text, install_btn]
pocoAndroid.wait_for_any(wait_list, 60)

pocoui版本:1.0.81

手机:vivo Y70s
安卓版本:10 rom:Funtouch OS_10

log打的比较随意- - 凑活看 1 2