fix org.openqa.selenium.NoSuchWindowException when find element on ie11.

Steps:
1.I was able to resolve the issue after adding the site URL under trusted sites of IE. The same worked for every other machine I tried running scripts on IE 11, forgive me if I am talking a little out of context. But that actually has worked for me every time.
2.(a) all security zones are set to the same Protected Mode setting and (b) Enhanced Protected Mode is turned off.

Come from link:
http://www.cnblogs.com/rosepotato/p/4544100.html
原文地址:https://www.cnblogs.com/keepSmile/p/5168576.html