selenium_弹出框的处理_TypeError: 'Alert' object is not callable
问题描述: 在使用selenium操作网页弹出框的时候,弹出框是alert类型,预想是点击弹出框的确定。在使用selenium中的switch_to.alert().accept()的方法报错报错如下:Traceback (most recent call last): File "F:/project/全国selenium_测试.py", line 59, in <...
原创
2019-05-16 19:31:24 ·
4581 阅读 ·
0 评论