04 2019 档案
摘要:1. 对webview页面元素的处理self.driver.switch_to.context("WEBVIEW_com.aaa.bbb")source = self.driver.page_sourceprint("订单支付页面>>",source)print("context>>",self.d
阅读全文
摘要:一、定义fixture方法
阅读全文
摘要:在客户端登录或者退出登录的时候会有吐司提示,因此需要抓取来验证用户登录成功或者注销成功; 在获取toast之前需要添加 desired_caps['automationName'] = 'Uiautomator2' , 否则无法获取到toast 调用toast方法一:
阅读全文