Closed zhangwenting0224 closed 2 years ago
Is it a Toast?
是吐司吗?
Yes, how can I get it?
The latest version of CulebraTester2-public includes an endpoint to wait for a Toast.
You can try that. CulebraTester2-public can be used as an AndroidViewClient backend when you specify useuiautomatorhelper=True
creating the ViewClient
object.
Was that helpful?
I'm so sorry to disturb you again After searching many documents and stack overflow, the problem still exists.
After clicking some button, a pop-up message will appear in the view. I try to use vc.dump(), but I can't seem to get it? How can I get the messaage? He will disappear soo
device.press("KEYCODE_BACK")
vc.dump()
vc.traverse(transform=ViewClient.TRAVERSE_CIT, stream=sys.stdout)