Windows 8.1 and Internet Explorer 11 support

1,083 views
Skip to first unread message

Tatiana Kovalchuk

unread,
Jul 9, 2013, 11:11:41 AM7/9/13
to seleniu...@googlegroups.com
Hi all!
When I run tests, I have error: OpenQA.Selenium.NoSuchWindowException : Unable to get browser
It is obviously ofcourse, Windows 8.1 is too fresh and on Preview stage..
But, does anybody know when IE11 will be supported?



Jim Evans

unread,
Jul 9, 2013, 5:54:50 PM7/9/13
to seleniu...@googlegroups.com
When will IE11 be supported? How about when someone is able to provide a development environment that the IE driver team can use to figure out why it's not working? :) More seriously, a log from IEDriverServer.exe might be instructive to know exactly where it's failing.

Matt Jenner

unread,
Aug 20, 2013, 10:49:39 AM8/20/13
to seleniu...@googlegroups.com
Hi Jim,

I've managed to get you a trace level log of the failing execution in IE11 under Win7, this is attached (with sanitized URLs).

IE11 loads, but it comes up with exactly the same error as Tatiana experienced above, details about this run are as follows:
Thanks for all your work (and the rest of the IE Driver team's work) so far, hopefully it'll just be a minor tweak to get this working and a fix can be deployed quickly, otherwise I'm going to have to test manually! :(

Thanks in advance,

Matt

PS. If you need a development platform for Win8.1 in addition to the Win7 version, the release candidate ISO is available and it should install in a VM, you can find it here: http://windows.microsoft.com/en-us/windows-8/preview-iso
IEDriverServer_x86_2.35.1_trace.log

Matt Jenner

unread,
Aug 20, 2013, 12:25:09 PM8/20/13
to seleniu...@googlegroups.com
I also forgot to mention, the version of IE 11 was 11.0.9341.0, thanks.

Jim Evans

unread,
Aug 20, 2013, 1:49:16 PM8/20/13
to seleniu...@googlegroups.com
I strongly suspect that the issue here is that Microsoft has now deprecated the IHTMLDocument2::execScript() method[1]. This pretty much will cause all JavaScript execution in the IE driver to fall on its face. According to MSDN, the replacement is to use the eval() function, but I've been unsuccessful getting that to work in C++. Until that problem is resolved, IE11 support is dead in the water.

--Jim

[1] http://msdn.microsoft.com/en-us/library/ie/bg182625%28v=vs.85%29.aspx

Matt Jenner

unread,
Aug 22, 2013, 5:49:37 AM8/22/13
to seleniu...@googlegroups.com
Thanks for the quick response, hmm that's not good news at-all :( still it's good news to know you're at least working on getting eval() to work.

Jim Evans

unread,
Aug 27, 2013, 12:20:25 PM8/27/13
to seleniu...@googlegroups.com
I've had a little more time to look at this now. I've tested it against the Windows 8.1 preview build available for download from Microsoft.

The good news is that it looks like the IE driver *mostly* works with IE11, provided that (a) all security zones are set to the same Protected Mode setting and (b) Enhanced Protected Mode is turned off. Note that the standard registry checks that the IE driver uses to test for Protected Mode settings in IE7-10 are broken for IE11, and we've never made any attempt to check for Enhanced Protected Mode, so there's no warning (yet) if you don't have these settings properly set.

The bad news is that cookie manipulation is broken. Badly. If you attempt to set or retrieve cookies, there's a chance that you'll end up with the "Unable to get browser" error encountered before. At the moment, there is no workaround for that. Matt, looking at the log you posted earlier, it looks like you were doing some cookie manipulation before you got into the bad state.

--Jim

Martin Sandford

unread,
Nov 15, 2013, 6:56:20 AM11/15/13
to seleniu...@googlegroups.com
I am unable to get the IEDriver working with IE11 on Windows 7 SP1 x64. Enhanced Mode is off and Protected Most is off for all zones. I have tried IE11 32 and 64 bit. I get the same exception reported above - NoSuchWindowException. I see IE11 open and navigate to the correct page - but then it fails and window remains open.

Евгений Мельников

unread,
Nov 27, 2013, 11:42:41 AM11/27/13
to seleniu...@googlegroups.com
Could you try to remove ie.ensureCleanSession (it's tru in your log)
I manage to run my tests after removing this option and unchecking "Enable Protected Mode" for all zones
Also I did reset all IE settings to default before that

четверг, 22 августа 2013 г., 12:49:37 UTC+3 пользователь Matt Jenner написал:

Martin Sandford

unread,
Nov 28, 2013, 5:31:04 AM11/28/13
to seleniu...@googlegroups.com
ensureCleanSession = false doesn't fix it for me.

Muralisankar A

unread,
May 21, 2014, 7:50:23 AM5/21/14
to seleniu...@googlegroups.com
Hi Jim Evans,

Protected mode and enhanced protected mode should be enabled or disabled? when I run selenium webdriver on IE11?

Jim Evans

unread,
May 21, 2014, 8:33:32 AM5/21/14
to seleniu...@googlegroups.com
For regular Protected Mode which has been around since IE7, it doesn't matter, as long as all zones have the same value (enabled or disabled). Enhanced Protected Mode should be disabled, full stop.

Muralisankar A

unread,
May 21, 2014, 11:10:48 AM5/21/14
to seleniu...@googlegroups.com
Thank you Mr.Jim Evans


--
You received this message because you are subscribed to a topic in the Google Groups "Selenium Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/selenium-users/lJo90jbclvQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/86a28a16-55a8-4388-a2e2-57d8223db29d%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Respected Sir / Madam, B.Tech Software Tester with 2 Years 6 Months Experience

 I have a knowledge in manual testing and contributing on

 Test Plan

Test Case Report

Bug Report

Testing Certificate

Functional Architecture

Sequence Diagram for process flow

PPT Documentation for Project Flow

I have done training to Business Analysts & New employees about process flow

I have delivered project presentation to the client both online demo and direct demo.

Bug Net Issue Tracker

 I have interested to join as a software tester on your company , please contact me at 9895364581 or muralis...@gmail.com

sriram sankaran

unread,
Jun 20, 2016, 3:11:23 PM6/20/16
to Selenium Users
HI ,

Is there any final solution available to this problem.?

Regards.
Sriram.S
Reply all
Reply to author
Forward
0 new messages