![]() Open the specific url you were getting 'Secure Connection Issue', accept SSL certificates for this profile. Now after selecting newly created profile, start Firefox. ![]() Pick location something easy to find - like “C:\New firefoxprofile” In the Run dialog box, type in: ‘firefox.exe -p' and then Click OK.Ĭreate a name for your new profile(say Selenium) I have tried this approach and it worked well for me.Ĭreate new firefox profile by following below step. Webdriver = new FirefoxDriver(capabilities) tAcceptUntrustedCertificates(true) ĬtCapability(FirefoxDriver.PROFILE, profile) ![]() tAcceptUntrustedCertificates (true) ĭesiredCapabilities capabilities = new DesiredCapabilities() ĬtCapability(CapabilityType.ACCEPT_SSL_CERTS, true) ĭriver = new FirefoxDriver(capabilities) String browser_profile = System.getProperty("") įirefoxProfile profile = profiles.getProfile(browser_profile) tProperty("","custom firefox profile name") ProfilesIni profiles = new ProfilesIni()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |