开发者

Selenium2 profile to accept untrusted certificates

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 browse开发者_StackOverflow中文版r, however in selenium I cannot avoid it. Any suggestions?


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

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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜