Wednesday, 28 October 2015

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); 

No comments:

Post a Comment

What is Wireframe ?

    A wireframe is a layout of a web page that demonstrates what interface elements will exist on key pages. It is a criti...