Created
April 26, 2023 08:11
How To Handle SSL Certificates In Selenium WebDriver
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package test; | |
import org.testng.annotations.Test; | |
public class Test_Accept_InsecureSslCerts extends BaseClass{ | |
@Test | |
public void testSslCertificatesHandlingChrome() | |
{ | |
setup("chrome", true); | |
navigateToUrls(); | |
} | |
@Test | |
public void testSslCertificatesHandlingFirefox() | |
{ | |
setup("firefox", true); | |
navigateToUrls(); | |
} | |
@Test | |
public void testSslCertificatesHandlingEdge() | |
{ | |
setup("edge", true); | |
navigateToUrls(); | |
} | |
@Test | |
public void testSslCertificatesHandlingSafari() | |
{ | |
setup("safari", true); | |
navigateToUrls(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment