我正在使用Selenium来启动浏览器.如何处理要求浏览器接受证书的网页(URL)?
在Firefox中,我可能有一个这样的网站要求我接受这样的证书:

在Internet Explorer浏览器上,我可能会得到以下内容:

在Google Chrome上:

我再重复一个问题:当我使用Selenium(Python编程语言)启动浏览器(Internet Explorer,Firefox和Google Chrome)时,如何自动接受网站证书?
我正在使用Chrome Canary运行python脚本(下面的完整脚本链接)进行selenium测试.测试似乎运行正常,但是,控制台上显示了大量错误/警告/信息消息.
有没有办法压制这些消息?我试过:chrome_options.add_argument(" - silent"),但没有帮助.我无法找到合适的解决方案.感谢任何帮助.
Python脚本:此处提供的示例脚本
Python:3.6.3 Selenium:3.6.0 Chrome Canary:63.0.3239.5(64位)ChromeDriver:2.33

在Chrome驱动程序中运行我的python selenium脚本时,即使一切正常,每次页面加载时我都会收到以下三条错误消息.有没有办法压制这些消息?
[24412:18772:0617/090708:错误:ssl_client_socket_openssl.cc(1158)]握手失败; 返回-1,SSL错误代码1,net_error -100
selenium google-chrome webdriver selenium-chromedriver selenium-webdriver
我正在尝试使用 python 使用 selenium 进行网页抓取,但是每当我运行代码时,我都会收到错误
[4824:524:0818/154954.605:ERROR:ssl_client_socket_impl.cc(959)] handshake failed; returned -1, SSL error code 1, net_error -201
[4824:524:0818/154954.614:ERROR:ssl_client_socket_impl.cc(959)] handshake failed; returned -1, SSL error code 1, net_error -201
[4824:524:0818/154954.721:ERROR:ssl_client_socket_impl.cc(959)] handshake failed; returned -1, SSL error code 1, net_error -201
[4824:524:0818/154954.730:ERROR:ssl_client_socket_impl.cc(959)] handshake failed; returned -1, SSL error code 1, net_error -201
Empty DataFrame
Columns: [Rank, Country, Total Cases, New Cases, Deaths, New Deaths, Recovered, Active Cases, Critical]
Index: []
Run Code Online (Sandbox Code Playgroud)
我的代码我试图使用 selenium 访问名为 worldometer 的网站,并使用 pandas 从其网站上的表格中提取数据。我之前曾使用selenium访问其他网站,但当时没有给出错误。我使用的是python版本3.6.8
我尝试了安装 OpenSSl 等修复程序,但没有安装我还尝试了其他修复程序,例如添加 --ignore-certificate-errors 和 --ignore-ssl-errors …
python selenium web-scraping selenium-chromedriver selenium-webdriver