0

I have IE 11 browser on Windows 8. I'm trying to automate a simple search but I am getting an exception. (The script works in Firefox)

I made regedit changes according to instructions given in https://code.google.com/p/selenium/wiki/InternetExplorerDriver

Created a QWORD value since I have 64 bit machine.

Following error appears:

Exception in thread "main" org.openqa.selenium.NoSuchWindowException: Unable to find element on closed window (WARNING: The server did not provide any stacktrace information)

What else can I do to overcome this issue?

Kate Paulk
31.5k8 gold badges56 silver badges109 bronze badges
asked May 16, 2015 at 6:34
2

2 Answers 2

1

When I got the same error I edited settings in Internet Explorer:

Tools -> Internet option -> Security

Change security from high to medium-high or medium and UN-check Enable Protection Mode

Second problem I found is:

Sendkeys Working too Slow

For this problem I used IE 32 Bit Driver

Hope this will solve your problem.

Kate Paulk
31.5k8 gold badges56 silver badges109 bronze badges
answered May 19, 2015 at 14:03
0

It is hard to say without seeing your code but a quick search on StackOverflow shows that people with similar error messages are having issues related to IE's Protected Mode (source) or: capabilities.setCapability(InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS,true); (source).

answered May 16, 2015 at 16:36
1
  • However, manually setting the protected mode setting is recommended way than setting it from capabilities.setCapability(InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS,true); Commented May 17, 2015 at 19:10

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.