title: Nightwatch - Wait for text in a list of elements, for a period of time
body: <p>using Nightwatch, I need to look at a list of HTML elements, and determine if any of them have a specified message, within a certain time period.  (i.e. Using mailtrap.io to test outgoing emails - the emails may be queued and not arrive for 5 to 10 minutes).  I have the following:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>this.expect
      .element(mailtrap.elements.messages.selector)
      .text.to.contain(message)
      .before(600000)        </code></pre>
  </div>
  </div>
  </p>
  
  <p>This does not work as it only appears to check the first element it finds when the command is executed.  It does not seem to update it's list before it checks again.</p>
  
  <p>I know I could do <code>clients.elements('css selector', mailtrap.elements.messages.selector, function (result) {...})</code> to get an array of matching elements and possibly check each.  Before I start down that path though, is there an easier way to do this?</p>