What is SSL Certificate?
A Secure Sockets Layer certificate (SSL certificate) is a small data file installed on a Web server that allows for a secure connection between the server and a Web browser. For more insights, you can refer to the below link-
Detailed Explanation for SSL Certificate
How to bypass the SSL certificate in Testsigma?
Bypassing SSL certificate can be done in two ways in Testsigma:
1. By applying the desired capabilities before running the test case.
2. Bypassing manually.
1. By applying the desired capabilities before running the test case
Desired Capabilities are a set of properties used for customizing the Test Environment , it can also be used to bypass certificate error. Here are the few desired capabilities for specific browser to overcome certificate errors :
For Mozilla Firefox:
accept_untrusted_certs - boolean - true
For Google Chrome:
acceptInsecureCerts - boolean - true
For Internet Explorer and Safari:
capabilityType.ACCEPT_SSL_CERTS - boolean - true
The above image shows the inclusion of desired capabilities for the Chrome browser.
2. Bypassing Manually
We can bypass the certificate error manually by selecting the checkbox, clicking on Advanced and then clicking on Proceed to self-signed.badssl.com (unsafe) using suitable NLP for performing these steps as shown below:
By clicking on Proceed to self-signed.badssl.com (unsafe) you will be directed to the original website.
Welcome to the era of #SmartTestAutomation!