1SSL is a standard security protocol for establishing secure connection between
2the SERVER and CLIENT. When secure connection is not established due to
3certificate SSL error will occur and to handle it We need to create
4instance of DesiredCapabilities class :
5
6
7for UI of CHROME, IE ->
8 DesiredCapabilities handlSSLErr = DesiredCapabilities.chrome()
9 handlSSLErr.setCapability ((CapabilityType.ACCEPT_SSL_CERTS, true)
10 WebDriver driver = new ChromeDriver(handlSSLErr);
11