title: IE 11 with Selenium WebDriver: org.openqa.selenium.NoSuchWindowException
body: <p>I don't know why, if I set break point (see in code), its work(it doing click) but if I just run i have an  exception org.openqa.selenium.NoSuchWindowException on line (JavascriptExecutor)....
  Maybe someone now how to help me or maybe someone knew how to ignore certificate in IE.
  Thank you.</p>
  
  <pre><code>public class ie {
      public static void main(String[] args) throws InterruptedException {
          System.setProperty("webdriver.ie.driver", "drivers/iexploredriver.exe");
  
          DesiredCapabilities caps = DesiredCapabilities.internetExplorer();
          //caps.setCapability(InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS, true);
          caps.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true);
          WebDriver driver = new InternetExplorerDriver(caps); // there i setting break point
          driver.get("https://sasdka.test/uk/");
          ((JavascriptExecutor) driver).executeScript("document.getElementById('overridelink').click()");
          driver.quit();
      }
  }
  </code></pre>