摘要:
Driver.Quit()与Driver.Close()的不同:Driver.Quit(): Quit this dirver, closing every associated windows;Driver.Close(): Close the current window, quiting th 阅读全文
摘要:
最近一直在研究appium,偶尔的机会发现断言后获取屏幕截图。觉得这个方法不错,分享给大家这样以后在遇到断言,想截图错误屏幕的时候,能够用的上。1.首先需要2个类,一个是测试类(TestDropList),另外一个是监听类(ScreenshotListener)public class Screen... 阅读全文