简体   繁体   English

无法在Android应用上检测吐司消息

[英]Not able to detect toast message on android app

I am using Appium for android app & i have to deal with Toast message. 我正在将Appium用于Android应用程序,我必须处理Toast消息。 I am able to see toast message text but Uiautomator is not able to detect toast element. 我可以看到吐司消息文本,但Uiautomator无法检测到吐司元素。 So it there any method available in Appium to deal with toast message. 因此,Appium中提供了任何方法来处理吐司消息。 吐司消息

Toast被设计为生火忘了,一旦show()被调用,就无法获取其状态。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM