python selenium跳转到alert报错UnexpectedAlertPresentException

from selenium.webdriver.support import expected_conditions as EC
WebDriverWait(self.ieDriver, 100, 0.5).until(EC.alert_is_present())
alert_save = self.ieDriver.switch_to_alert()
alert_save.accept()


原文地址:https://www.cnblogs.com/chxtdbk/p/10044799.html