System.setProperty("webdriver.ie.driver","C:\\\\Users\\\\IEDriverServer_Win32_2.45.0\\\\IEDriverServer.exe");
WebDriver driver = new
If u are behind proxy with no access provision to change the protected mode settings then use this capabilities
DesiredCapabilities cap = DesiredCapabilities.internetExplorer();
cap.setCapability(InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS, true);
this will introduce some flakiness
You cannot open IE browser instance if Protected Mode settings are not the same for all zones OR if the browser is zoomed.
Below workaround is provided which will help you to temporarily solve the problem.
DesiredCapabilities caps = DesiredCapabilities.internetExplorer();
caps.setCapability(InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS,true);
WebDriver driver = new InternetExplorerDriver(caps);
Note : If you don't have permission to change IE settings,Request you to contact your IT administrator to get the required changes done.