Selenium Python 解决 UnexpectedAlertPresentException

alert = driver.switch_to.alert
alert.accept()

 http://stackoverflow.com/questions/28397370/python-selenium-unexpectedalertpresentexception

posted @ 2016-04-21 11:05  藥師  阅读(4659)  评论(0编辑  收藏  举报