新手学appium-appium错误截图
1 #appium的错误截图跟webdriver大同小异~ 2 #捕捉百度输入框异常 3 try: 4 driver.find_element_by_id("kwsss").send_keys("selenium") 5 driver.find_element_by_id("su1").click() 6 except: 7 driver.get_screenshot_as_file("/home/fnngj/python/error_png.png")