PrintZY

Python3中Selenium弹框alert报错unexpected alert open,解决办法(亲测有效)

Posted on By PrintZY
个人分类:Python

报错信息:

unexpected alert open

解决方法:

driver.switch_to.alert.accept()