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?

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.

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).

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);
    – saifur
    Commented May 17, 2015 at 19:10

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.