0
点赞
收藏
分享

微信扫一扫

Python Selenium 报错 unexpected alert open 解决办法

霍华德 2023-06-07 阅读 42


unexpected alert open

使用这个即可

driver.switch_to.alert.accept()

1、How to handle the “unexpected alert open”?

https://stackoverflow.com/questions/19173195/how-to-handle-the-unexpected-alert-open

2、Webdriver: Why am i still getting ‘Unexpected Alert Open’?

https://stackoverflow.com/questions/44161326/webdriver-why-am-i-still-getting-unexpected-alert-open

3、Alert closed, but getting Unexpected alert open error

https://stackoverflow.com/questions/34058005/alert-closed-but-getting-unexpected-alert-open-error

4、Python Selenium UnexpectedAlertPresentException

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


举报

相关推荐

0 条评论