title: Selenium webdriver implicitly_wait causing classCastException
body: <p>I'm executing the following code</p>
  <pre><code>import selenium
  from selenium import webdriver
  driver = webdriver.Remote(command_executor=&quot;http://selenium.server.com:4444/wd/hub&quot;, desired_capabilities=&quot;webdriver.DesiredCapabilities.FIREFOX&quot;)
  driver.implicitly_wait(60)
  driver.get('http://www.google.com')
  </code></pre>
  <p>But it's causing an exception</p>
  <blockquote>
  <p>7610 [SocketListener0-1] INFO org.openqa.jetty.jetty.context./wd - WebDriver remote server: Fatal, unhandled exception: /session:java.lang.ClassCastException:java.lang.String cannot be cast to java.util.Map</p>
  <p>7610 [SocketListener0-1] WARN org.openqa.jetty.jetty.servlet.ServletHandler - EXCEPTION javax.servlet.ServletException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map</p>
  <p>.</p>
  <p>.</p>
  <p>.</p>
  <p>Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map at org.openqa.selenium.remote.server.handler.NewSession.setJsonParameters(NewSession.java:57)</p>
  </blockquote>
  <p>Complete log can be found here...
  <a href="http://code.google.com/p/selenium/issues/attachmentText?id=3513&amp;aid=35130000000&amp;name=ClassCastException.log&amp;token=0yyAQKr_QP9Reg1csQTF5kRXfEM%3A1331442979189" rel="nofollow noreferrer">http://code.google.com/p/selenium/issues/attachmentText?id=3513&amp;aid=35130000000&amp;name=ClassCastException.log&amp;token=0yyAQKr_QP9Reg1csQTF5kRXfEM%3A1331442979189</a></p>
  <p>I have written it as bug, but what to make sure from experts here that whether it's a bug or something I'm missing.</p>