UiAutomator2捕获到Toast的内容方法如下: 转载:https://www.jianshu.com/p/2d1f5f7e9225 实验有效哦!