New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Win10 64bit and IE11 throws NoSuchWindowException: Error retrieving current window #4610
Comments
If you've configured IE properly, why are you using the |
See CONTRIBUTING.md |
@jimevans / @barancev as you guys suggested i tried with
But I sill see the same behavior At client i see this call stack
I see exception on node. I do see window popsup on node when session get created but below cod fails
Here is exception
I tested with below 2 registry entries on Win10 registry (one after another)
But it didnt help Please let me know if this is a defect OR i missed something. |
Start remote server that starts IE with extra options to collect IE driver logs:
run your scenario and attach the collected log file here. |
here is the trace log content
I am also attaching full log file for your reference. log file |
Hi did the callstack help? Why its failing on Win10 & IE11? Are there any workaounds? |
@barancev did attached logfile help to find root cause? Please let me know if you need more details. |
@shankarkc Please provide the full log, not just the portion of it. |
Is their any fix/solution for this? |
I'm running into a similar issue after applying all the required configuration for IE11, including the registry entry, and trying the methods mentioned here |
I am also having same issue. Please advise. |
There has yet to be a trace log added with a version of IEDriverServer.exe later than 3.5, which would be required to diagnose the issue any further. Anyone asking “is there any other fix,” or “please advise” will need to provide that information first. |
@jimevans that makes sense! See attached. I'm on windows 10 64bit with IE 11, and have followed the directions in the required config section of the wiki Looking at this a bit myself, it looks like I pass a "protected values settings valid" check, but then get the error
Looking at my protected mode settings in the GUI they all look good. I've also tried the 32 bit version which didn't help. |
@TychonautVII Looking at the logs you posted, the root cause of your issue is that you’re attempting to navigate to a Aside: While other browsers may handle those URLs without issue, that’s immaterial to IE. The driver really can’t do anything about it, so issues saying “I can’t use local-file-based URLs with the IE driver” will simply be closed. |
Thanks for taking a look at my logs @jimevans! If I actually host my files on a local server, this does seem to work. In my application, these HTML files are actually delivered as files meant to be open by the clients and used in the browser on their computer without a server. They still have JavaScript content though. Serving the files locally makes my tests less like what my users will actually see, but this is a better work around than I had before, which was basically drop Selenium and switch to JavaScript based testing haha. Is there any way to get this other protected mode zone aligned with the other 4? Also I totally get that there might be nothing that can be done on this given how IE works, and my application might be a little fringe. However even so, I think spelling this out is worth a paragraph in the IE Explorer Driver wiki, maybe in the required configuration section. It might be worth adding it to an initialization check or the protect mode check or somewhere else in the code / logs. That would probably save some people some heartache, particularly given that I think the people most likely to be trying to test local files are people playing around trying to get this to work for the first time. |
Sorry for leaving this issue unanswered. As @jimevans said IE handles file:// protocol in a different mode and we have no plans to improve support for this mode in Selenium. So we'll close this issue. But you can try to get help of the community, maybe someone knows how to tune IE properly to better handle this protocol:
|
Meta -
OS:
Windows10
Selenium Version:
3.4.0
Browser: Internet Explorer v11
Browser Version: 11.540.15063.0 (64 bit)
Expected Behavior -
Windows should not throw exception
Actual Behavior -
windows throws exception
NoSuchWindowException: Error retrieving current window
On node i see this call stack
I have configured IE as mentioned here
Steps to reproduce -
On windows10 64bit machine with IE11 installed.....configure IE as mentioned here
Use IE driver iedriver_3.5.1_x64bit for selenium grid.
Here is the code that throws exception
The text was updated successfully, but these errors were encountered: