'Handle self signed certificate issued by Kaspersky antivirus using Selenium Chrome Python
I am trying to log into an internal site using Selenium, it gives me the below:
Visiting a domain with an untrusted certificate Your connection is not secure. Criminals may attempt to intercept your private data. It is recommended to stop working with the website.
Web address:
webaddress
Reason:
Self-signed certificate
View certificate
I understand the risk, but want to proceed.
I tried to use the code:
opt.set_capability('acceptInsecureCerts', True)
web = webdriver.Chrome('driverpath', options=opt)
But doesn't work and tried another regular two methods but same issue. This message is issued by Kaspersky antivirus.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
