DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true);
driver= new FirefoxDriver(capabilities);
driver.get("http://seleniumsubbu.blogspot.in/");
capabilities.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true);
driver= new FirefoxDriver(capabilities);
driver.get("http://seleniumsubbu.blogspot.in/");