title: How to wait for either of the two elements in the page using selenium xpath
body: <p>I have two elements I can wait for, I want to <code>wait</code> until either of them appears on the page.</p>
  
  <p>I am trying to use <code>xpath</code> locator. But it is not working.</p>
  
  <pre><code>By.xpath("//*[(contains(@id,'idNumber1')) or (contains(@id,'idNumber2'))]"));
  </code></pre>
  
  <p>Is this achievable? <br>
  Please help me out.</p>