I am trying to lauch IE using below code :
driver = webdriver.Ie("IEDriverServer.exe")
driver.get("https://www.google.com")
This was working earlier, But i tried changing the security level in internet options, and after that it is giving below error:
selenium.common.exceptions.SessionNotCreatedException: Message: 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.
I saw many people mentioning this issue and saying that this can be fixed by using Default levels in security tab. I have tried this but still i am getting same issue. Also stried resetting ie settings :