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'])
相关推荐
EasyGBS1 小时前
摄像头还在线,画面已经不能用了?国标GB28181视频平台EasyGBS视频质量诊断怎么用
服务器·安全·音视频
程序员-Benothing2 小时前
Vim编辑器从入门到精通:模式、快捷键、配置、插件
linux·运维·服务器
通信大模型2 小时前
IEEE TCCN | 面向低空经济网络的Agentic AI驱动多无人机轨迹优化
网络·人工智能·无人机
m0_646429972 小时前
Docker 完整核心知识点总结(超通俗易懂版)
运维·docker·容器
wdfk_prog2 小时前
LWIP教程 09:从 `tcp_slowtmr()` 到 Fast Retransmit——TCP 超时重传与重复 ACK
服务器·网络·数据库·网络协议·tcp/ip
‎ദ്ദിᵔ.˛.ᵔ₎2 小时前
linux 进程信号 (上)
linux·服务器
亚川楼宇自控系统数据中心厂家2 小时前
IBMS 集成管理系统:如何打通楼宇自控实现建筑一体化管控
运维
15Moonlight2 小时前
Linux网络(02):Socket 编程 UDP
linux·网络·udp