Appium ConnectionAbortedError: [WinError 10053] 你的主机中的软件中止了一个已建立的连接
有可能是因为time.sleep()时间过长,超过6s导致
可以尝试使用driver.implicitly_wait() 进行登录,或者使用WebDriverWait()
WebDriverWait(driver, 10).until(lambda x: x.find_element_by_xpath('//*[@text="我知道了"]'))
Appium ConnectionAbortedError: [WinError 10053] 你的主机中的软件中止了一个已建立的连接
有可能是因为time.sleep()时间过长,超过6s导致
可以尝试使用driver.implicitly_wait() 进行登录,或者使用WebDriverWait()
WebDriverWait(driver, 10).until(lambda x: x.find_element_by_xpath('//*[@text="我知道了"]'))