robot framework中捕捉toast(robot framework+python+appiumlibrary)

 

 

如何在robot framework中捕捉toast?找了很久的办法,发现两行搞定,笑哭!!!

需要:一个appiumlibrary就行

1、Open Application中添加 automationName=uiautomator2
2、Wait Until Page Contains Element //*[@text="用户密码错误"]

posted on 2020-06-11 14:06  波音666  阅读(238)  评论(0编辑  收藏  举报

导航