title: Running Selenium 2.12 fails on Internet Explorer with Java
body: <p>I have just installed the latest version of Selenium 2.12. </p>
  
  <p>I am trying to run the following java program using Selenium on IE. But unfortunately it's not working.</p>
  
  <p><a href="http://openwritings.net/public/selenium-2/first-selenium-2-application-java" rel="nofollow">sample program</a> </p>
  
  <p>Here is the error message.</p>
  
  <pre><code>May 24, 2012 7:12:50 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
  INFO: Retrying request
  Exception in thread "main" org.openqa.selenium.UnhandledAlertException: Modal dialog present (WARNING: The server did not provide any stacktrace information)
  Command duration or timeout: 849 milliseconds
  Build info: version: '2.21.0', revision: '16552', time: '2012-04-11 19:08:38'
  System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_04'
  Driver info: driver.version: InternetExplorerDriver
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      at java.lang.reflect.Constructor.newInstance(Unknown Source)
      at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:175)
      at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:134)
      at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:459)
      at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:140)
      at org.openqa.selenium.ie.InternetExplorerDriver.setup(InternetExplorerDriver.java:113)
      at org.openqa.selenium.ie.InternetExplorerDriver.&lt;init&gt;(InternetExplorerDriver.java:66)
      at ExampleProgram.main(ExampleProgram.java:13)
  </code></pre>
  
  <p>This is launching the IE 8 with the URL "<code>http://localhost:15194/</code>" and showing the content - <code>This is the initial start page for the WebDriver server.</code></p>
  
  <p>Please help me with what I'm doing wrong here. I have done the basic setup as mentioned in <a href="http://code.google.com/p/selenium/wiki/InternetExplorerDriver" rel="nofollow">wiki</a> </p>