views:

43

answers:

1

I'm trying to use a firefox profile with selenium2 to accept untrusted certificates, but without any success. I'm using 2.0a5 of the selenium jar. If I start firefox with the profile manager manually and navigate to the site then there is no challenge from the browser, however in selenium I cannot avoid it. Any suggestions?

A: 

You can specify the existing profile to be used by FirefoxDriver by setting the system property:

System.setProperty("webdriver.firefox.profile", <Your profile here>);
ZloiAdun