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

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

Open
mp55 opened this issue Apr 25, 2021 · 0 comments
Open

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

mp55 opened this issue Apr 25, 2021 · 0 comments

Comments

@mp55
Copy link

mp55 commented Apr 25, 2021

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

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

1 participant