Wednesday, 13 May 2015

Handling SSL on InternetExplorer

package Assignments;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;


public class SSLIePopupHandle {

public static void main(String[] args) {


System.setProperty("webdriver.ie.driver", "C:\\Users\\NHCE\\Desktop\\IEDriverServer.exe");
WebDriver driver = new InternetExplorerDriver();
driver.get("https://ess5-white.echo360.com:8443/ess");

driver.navigate().to("javascript:document.getElementById('overridelink').click()");



}

}

No comments:

Post a Comment