Python 的 selenium 时,报如下错误SSL error code 1, net_error -101

今天使用 Python 的 selenium 时,一直在报如下错误:

156424:153348:1212/170007.899:ERROR:ssl_client_socket_impl.cc(978) handshake failed; returned -1, SSL error code 1, net_error -101

复制代码
# 忽略证书错误
options.add_argument('--ignore-certificate-errors')
# 忽略 Bluetooth: bluetooth_adapter_winrt.cc:1075 Getting Default Adapter failed. 错误
options.add_experimental_option('excludeSwitches', ['enable-automation'])
# 忽略 DevTools listening on ws://127.0.0.1... 提示
options.add_experimental_option('excludeSwitches', ['enable-logging'])
相关推荐
zhanghaofaowhrql4 小时前
Cursor+GitOps:自动化运维新姿势
运维·自动化
weixin_471383036 小时前
Docker - 05 - 构建流程
运维·docker·容器
andxe7 小时前
安科士AndXe 400G QSFP-DD LR8光模块芯片架构与品控体系解析
网络·光模块·光通信
夏玉林的学习之路7 小时前
如何远程连接服务器
运维·服务器
去码头整点薯条987 小时前
网络实验报告10
网络
坚定的共产主义生产设备永不宕机7 小时前
路由协议OSPF进阶一篇讲全
网络
风曦Kisaki7 小时前
#Linux数据库管理Day06:主从同步与MaxScale读写分离
linux·运维·数据库
影寂ldy8 小时前
C# try-catch 异常处理全套笔记
服务器·数据库·c#
fei_sun8 小时前
黑洞路由(Null Route/空接口路由)
服务器·前端·javascript
Tipriest_8 小时前
ubuntu创建和更换当前swap大小
linux·运维·ubuntu