I downloaded the Internet Explorer driver and I gave the correct path while writing it in code. Still, I am getting the error with this driver
Java Code:-
System.setProperty("webdriver.ie.driver","D:\\Selenium\\Drivers\\IEDriverServer.exe");
driver = new InternetExplorerDriver();
navigate = new WebDriverBackedSelenium(driver, "http://www.facebook.com/");
The error message is:
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)
Command duration or timeout: 1.15 seconds
Driver info: org.openqa.selenium.ie.InternetExplorerDriver