Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8840343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T10:26:39+00:00 2026-06-14T10:26:39+00:00

I am trying to use the Selenium Internet Explorer driver but it is breaking

  • 0

I am trying to use the Selenium Internet Explorer driver but it is breaking when I try to instantiate it:

[TestInitialize]
public void TestInitialise() {
  ieDriver = new InternetExplorerDriver();
}

with the following error:

Enable Protected Mode must be set to the same value (enabled or
disabled) for all zones. (NoSuchDriver).

I have found an apparent solution to my problem here, which suggests setting the driver’s DesiredCapabilities, as shown:

var capabilitiesInternet = new OpenQA.Selenium.Remote.DesiredCapabilities();
capabilitiesInternet.SetCapability("ignoreProtectedModeSettings", true);
IWebDriver webDriver = new InternetExplorerDriver(capabilitiesInternet);

The only problem is, I am using the latest version of the driver that I could find, and there is no override for InternetExplorerDriver that takes DesiredCapabilities as a parameter.

Is there some new or other way of setting DesiredCapabilites now instead of the example that I used?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T10:26:40+00:00Added an answer on June 14, 2026 at 10:26 am

    That setting will work around the problem but introduce some subtle problems. Have you not set up the Protected Modes of IE correctly? This is the correct solution to it.

    Guide of this lives here:

    https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver

    Essentially just turn off protected mode in IE for each zone.

    Alternatively if you really must use the override capability, then you either do two things:

    Use the InternetExplorerOptions class. Note the name of the property, it gives you a big clue it is not a good idea to use it.

    var options = new InternetExplorerOptions;
    options.IntroduceInstabilityByIgnoringProtectedModeSettings = true;
    var driver = new InternetEplorerDriver(options);
    

    or use the RemoteWebDriver, which can take in any implementation of the ICapabilities interface, which DesiredCapabilites implements:

    var capabilities = new DesiredCapabilities("internet explorer", string.Empty, new Platform(PlatformType.Windows));
    capabilities.SetCapability("ignoreProtectedModeSettings", true);
    var webDriver = new RemoteWebDriver(capabilities);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use Selenium RC but i keep getting this error whenever
I'm trying to use Selenium WebDriver to input text to a GWT input element
I am trying to use selenium.getEval() to get all of the elements with a
I’m trying to use Python’s Selenium bindings to programmatically interact with websites, as part
We're converting our Selenium tests to use Selenium-Grid. I'm trying to find a way
I am trying to get selenium tests to run. Yet every time I try
I am trying to use selenium to enter data into google docs so that
I am trying to use selenium from python to scrape some dynamics pages with
I am trying to use a software name Selenium (web rat) to simulate user
I'm trying to do set up some Selenium WebTests using PHPUnit, but php is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.