title: How to use different version of IE (IE6, 7, 8, 9 and 10) in Selenium WebDriver with Java
body: <p>I have downloaded "IEDriverServer_Win32_2.28.0.zip" from the following URL:
  <a href="http://code.google.com/p/selenium/downloads/detail?name=IEDriverServer_Win32_2.28.0.zip&amp;can=2&amp;q=" rel="nofollow">http://code.google.com/p/selenium/downloads/detail?name=IEDriverServer_Win32_2.28.0.zip&amp;can=2&amp;q=</a></p>
  
  <p>After extracting zip file in a folder, I have used that path in my WebDriver Java code as below:</p>
  
  <pre><code>File file = new File("E:\\Global Blue\\globalblue-selenium-test\\gb-selenium-test\\lib\\IEDriverServer_Win32_2.28.0\\IEDriverServer.exe");
  System.setProperty("webdriver.ie.driver", file.getAbsolutePath());
  driver = new InternetExplorerDriver();
  </code></pre>
  
  <p>The tests are running in Internet Explorer well.
  How can I use different version of IE (IE6, 7, 8, 9 and 10) in my Selenium WebDriver test?</p>