Not able to luanch IE browser using selenium | Selenium Forum
M
Posted on 03/12/2015
Getting error while trying to launch the Internet Explorer browser

Code:
System.setProperty("webdriver.ie.driver", "C:\\dipti\\Selenium\\IEDriverServer.exe");
InternetExplorerDriver driver = new InternetExplorerDriver();

Error Message:
Started InternetExplorerDriver server (64-bit)
2.45.0.0
Listening on port 26234
Exception in thread "main" org.openqa.selenium.remote.SessionNotFoundException: Unexpected error launching Internet Explorer. Protected Mode settings are not the same for all zones. Enable Protected Mode must be set to the same value (enabled or disabled) for all zones. (WARNING: The server did not provide any stacktrace information)

M
Replied on 03/12/2015

protected mode is giving trouble. use this blog

http://www.eightforums.com/tutorials/31977-internet-explorer-enhanced-protected-mode-turn-off.html


M
Replied on 05/12/2015

The option 'Enable Enhanced Protected Mode" was already unchecked. And if I check that checkbox and run the program it gives me below error message:

Started InternetExplorerDriver server (64-bit)
2.45.0.0
Listening on port 28597
Exception in thread "main" org.openqa.selenium.remote.SessionNotFoundException: Unexpected error launching Internet Explorer. Protected Mode settings are not the same for all zones. Enable Protected Mode must be set to the same value (enabled or disabled) for all zones. (WARNING: The server did not provide any stacktrace information)