Firefox配置文件无法运行selenium webdriver
我已经按照以下步骤创建了firefox配置文件:Firefox配置文件无法运行selenium webdriver,firefox,selenium,webdriver,ssl-certificate,Firefox,Selenium,Webdriver,Ssl Certificate,我已经按照以下步骤创建了firefox配置文件: 1. firefox.exe -ProfileManager -no-remote 2. New profile created with name CM 3. open the new profile and add the certificate 现在,从调用此配置文件的selenium web驱动程序自动化脚本开始 FirefoxProfile firefoxProfile = new FirefoxProfil
1. firefox.exe -ProfileManager -no-remote
2. New profile created with name CM
3. open the new profile and add the certificate
现在,从调用此配置文件的selenium web驱动程序自动化脚本开始
FirefoxProfile firefoxProfile = new FirefoxProfile();
ProfilesIni allProfiles = new ProfilesIni();
firefoxProfile = allProfiles.getProfile("CM");
firefoxProfile.setAcceptUntrustedCertificates(true);
firefoxProfile.setAssumeUntrustedCertificateIssuer(false);
driver = new FirefoxDriver(firefoxProfile);
但仍然获取不受信任的证书错误
提前感谢,您是否使用了该软件包?