How to skip the SSL certificate check in selenium webdriver ?


//Using Firefox profile set AcceptUntrustedCertificates to ture 
FirefoxProfile profile=new FirefoxProfile(); 
profile.setAcceptUntrustedCertificates(true); 

//Then pass that profile while creating Firefox driver 

WebDriver Driver = new FirefoxDriver(profile); 

Comments

Popular posts from this blog

What’s the Difference Between Docker and Kubernetes?

TestNG Listeners

Localization,Internationalization Testing