title: Selenium Timing issue: form fields are not filled correctly
body: <p>I am using <a href="https://github.com/semperos/clj-webdriver" rel="nofollow">clj-webdriver</a> to fill out a form in my test case.</p>
  
  <pre><code>(quick-fill-submit {"#firstname" "Firstnam"}
                     {"#lastname"  "Lastnaem"}
                     {"#username"  "Username"}
                     {"#password"  "Password"}
                     {"#password2" "Password"}
                     {"#roles"     "user"})
  
  (click "button#add-user")
  </code></pre>
  
  <p>Every time I run this code in my test case the third value is filled in blank.
  I moved the fields around and verified it. It is always the third field.</p>
  
  <p>When execute my test case step by step in a repl it works fine but when
  running it through <code>lein test</code> it fails.</p>
  
  <p>This seems to be some kind of timing issue. When I for example stall the
  execution by adding a</p>
  
  <pre><code>(wait-until #(= 1 2) 10000)
  </code></pre>
  
  <p>between the two functions the field gets filled. A simple</p>
  
  <pre><code>(Thread/sleep n)
  </code></pre>
  
  <p>does not work in this case. Why is Selenium not filling in the form correctly?</p>