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'])
相关推荐
李白你好5 小时前
AI Agent 架构的自动化渗透测试工具
运维·人工智能·自动化
Snasph5 小时前
GNU Make 用户手册(中文版)
服务器·算法·gnu
广州灵眸科技有限公司6 小时前
瑞芯微RV1126B开发板(EASY-EAI-PI2) Easy-Eai编译环境准备与更新
服务器·前端·人工智能·python·深度学习
一勺菠萝丶6 小时前
Docker Desktop 启动后容器自动启动怎么办?如何关闭容器自启动
运维·docker·容器
Esaka_Forever6 小时前
uv init 完整用法(Python 最快包管理器)
服务器·python·uv
溜达的大象7 小时前
服务器挂了等用户报障?我用Prometheus搭了一套监控告警,服务器出状况第一时间通知我
服务器·php·prometheus
ylscode7 小时前
Comodo防火墙曝致命零日漏洞:单个IPv6数据包即可触发Windows蓝屏死机
运维·网络·windows·安全·安全威胁分析
xiaofeichaichai7 小时前
网络请求与实时通道
前端·网络
实在智能RPA7 小时前
药企GMP合规自动化破局:实在Agent的功能完整度评估与落地实践
运维·人工智能·ai·自动化