title: XPath Element that contains 2 children that each match a specific text
body: <p>I'm using Selenium to target certain elements on a page.</p>
  
  <p>I have a table that looks like this</p>
  
  <pre><code>&lt;table&gt;
      &lt;tbody&gt;
           &lt;tr&gt;
               &lt;td&gt;Text1&lt;/td&gt;
               &lt;td&gt;Text2&lt;/td&gt;
           &lt;/tr&gt;
           ...
      &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Each <code>&lt;tr&gt;</code> element matches this pattern.
  I want to pass in two strings, text1 &amp; text2, and find the row element whose two cells match text1 and text2, in that order. I'm assuming XPath is the way to go, I'm just not really sure how to write this case, if it's possible.</p>