lundi 3 octobre 2016

I am writing a seleanum scripts in filefox i am getting like this Untrusted Certificate

written a code like this

FirefoxProfile profile=new FirefoxProfile();
 profile.setAcceptUntrustedCertificates(true);
 WebDriver driver=new FirefoxDriver();
 driver.get("url");

Not working in firefox how to resolve this one.

Aucun commentaire:

Enregistrer un commentaire