Saturday, 23 January 2021

Selenium ssl_client_socket_impl.cc handshake failed

I am receiving this error while testing with Selenium

[18912:1216:0116/175151.966:ERROR:ssl_client_socket_impl.cc(960)] handshake failed; returned -1, SSL error code 1, net_error -101

My current code is

settings = {
      'proxy':{
          'https':'https://' + proxy 
      }
    }
options = webdriver.ChromeOptions()
options.add_argument('--ignore-certificate-errors-spki-list')
options.add_argument('--ignore-ssl-errors')
self.driver = webdriver.Chrome(seleniumwire_options=settings, chrome_options=options)

Is there any other way to ignore/solve this error?



from Selenium ssl_client_socket_impl.cc handshake failed

No comments:

Post a Comment