Win10 IE version 11 protection mode issue -- need your support

64 views
Skip to first unread message

ManojR16

unread,
Aug 9, 2018, 4:19:43 AM8/9/18
to Selenium Users

Hello,


This is regarding an issue which we are currently facing in my team related to IE browser protection mode.

In Windows10, IE version 11 is not working with Selenium[3.13]. 


  1. https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver website suggested to enable the protection mode in IE internet option (Security tab) for all security zones.
  2. Not able to perform this operation under these zones: Local Intranet/Trusted sites/Restricted sites. Only it is enabled in Internet zone, perhaps it is due to company policies.
  3.  I also checked the option : INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS through Java, which also did not work.
  4. I am receiving "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" error message


Please support me in this.


Thanks & Regards,
Manoj

seleniumIE4.jpg
seleniumIe3.jpg
seleniumIE2.jpg
seleniumIE1.jpg

Michael Ayers

unread,
Aug 10, 2018, 3:49:34 AM8/10/18
to Selenium Users
Manoj,

All security zones have to have protected mode set on, or off. Your IT service desk will have to set these via the group policy if you cannot edit it yourself.
You could try:-

OpenQA.Selenium.IE.InternetExplorerOptions theOptions = new OpenQA.Selenium.IE.InternetExplorerOptions();
theOptions.IntroduceInstabilityByIgnoringProtectedModeSettings = true;

Also

ieDriverService.LoggingLevel = InternetExplorerDriverLogLevel.Trace;
                    ieDriverService.LogFile = "c:\\iedriver.log";

You also need 'Enable Enhanced Protected Mode*' in the advanced tab, security options to not be set, again this will have to be done via the group policy if you cannot edit yourself.

I can get IE 11 to load my required website on Windows 10, but the Selenium driver does not create a session when requested and the session times out after 60 seconds.

Please can anyone help?

I am using all the latest drivers etc..

Michael
Reply all
Reply to author
Forward
0 new messages