Skip to content
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
This repository was archived by the owner on Nov 29, 2018. It is now read-only.

IE9 + Win7 - Protected Mode settings are not the same for all zones #4249

@lukeis

Description

@lukeis

Originally reported on Google Code with ID 4249

Versions:
Selenium 2.24.0,
IEDriverServer  2.24.2,
IE 9, Win7

Using C#, the code to ignore protected mode settings in IE doesn’t seem to have an
effect and I’m receiving the following error  -->

Test(s) failed. System.InvalidOperationException : 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. (NoSuchDriver)
   at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
   at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute,
Dictionary`2 parameters)
   at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor,
ICapabilities desiredCapabilities)

Code that's been tried  ::
    var options = new InternetExplorerOptions();
        options.IntroduceInstabilityByIgnoringProtectedModeSettings 
             = true;
       IWebDriver _driver = new InternetExplorerDriver(options);
       return _driver;

With this code implemented there is the issue of Selenium timing out waiting for server
response  -->

OpenQA.Selenium.WebDriverException : No response from server for url http://ect...

The only work around so far has been setting the zones in the IE options, which is
not an option for us outside of a test lab environment. 

Reported by BancVue.AutomationTest1 on 2012-07-12 22:07:09

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions