Chrome capabilities SSL Certificate Error

Good day folks!

I am trying to handle the SSL Certificate Error in Chrome/ Thought it can be handled in capabilities like:
DesiredCapabilities handlSSLErr = DesiredCapabilities.chrome ()
handlSSLErr.setCapability (CapabilityType.ACCEPT_SSL_CERTS, true)
WebDriver driver = new ChromeDriver (handlSSLErr);

Can anyone help me in passing these values in chrome capabilities in the project settings?

I tried as shown in the image but it didn’t work.

image

1 Like

It took me a lot of digging to find the answer, but use “acceptInsecureCerts”:true

3 Likes

It worked for me!! Thank you very much <3

3 Likes

Hi Laura, Could you please share args or parameter you pass in Desire Capability for “acceptInsecureCerts”:true.

I am facing certificate issue in firefox for one of the site

Sorry, i’m pretty sure these capabilities work only in Chrome. I just added “acceptInsecureCerts”:boolean :true out of the “args”.

I had the same issue. Thank You. It worked for me . I am using Katalon 7.2

where did you do this within the application?

thank you

Project > Settings > Desired Capabilities > Web UI > Chrome

Does anyone know if there is similar argument for Edge Chromium?