Selenium Python 解决 UnexpectedAlertPresentException

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

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

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