title: How to use Selenium run IE on Windows 8 with capabilities to IE version 8
body: <p>On my computer is Windows 8 (Internet Explorer 10)</p>
  
  <p>How I can run Internet Explorer with Selenium with browser mode IE8</p>
  
  <p>Here is my Selenium code:</p>
  
  <pre><code>  public static void main(String[] args) {
          System.setProperty("webdriver.ie.driver","D://workspace//IEDriverServer_x64.exe");
          DesiredCapabilities caps = DesiredCapabilities.internetExplorer();
          caps.setCapability(
                InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS
                ,true);
          capab.setBrowserName("internet explorer");
          // i was try this 
          // capab.setCapability(CapabilityType.VERSION, "9");
          capab.setCapability("version", "9");
  
          WebDriver driver = new InternetExplorerDriver(caps);
          driver.get(" my url ");
    }
  </code></pre>