title: WebDriver wait n seconds
body: <p>I am writing some functional tests with Sauce Labs (Using Selenium + Webdriver + Nodejs). One of my test cases looks like the following:</p>
  
  <pre><code>  it('Should Not Have Any Errors', function(done) {
          browser
              .get(host + '/test.live.cgi?view=pixelTest')
              .elementById('errorHolder')
              .text()
              .should.eventually.equal('[]')
              .nodeify(done);
     });
  </code></pre>
  
  <p>How would I go about waiting 10 seconds between loading the page and checking the errorHolder element's text? I have been scanning through the api <a href="https://github.com/admc/wd/blob/master/doc/api.md" rel="noreferrer">https://github.com/admc/wd/blob/master/doc/api.md</a> but all of the wait functions look like they require an asserter function to test whether a given condition is true. I am trying to use <code>waitFor(opts, cb) -&gt; cb(err)</code> method but I am unsure of how to chain it with the promises. Can I do this?</p>