title: How to find Child Element in a Parent WebElement in Selenium webdriver
body: <p>I thought <code>WebElement.findElement()</code> only searched the DOM below the element,
  but it apparently searches the whole DOM. I have something like this in HTML:</p>
  
  <pre><code>&lt;table&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
        &lt;td&gt;Some Text&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr class="network"&gt;
        &lt;td&gt;&lt;input ...&gt;&lt;/td&gt;
    &lt;tr&gt;
        &lt;td&gt;Some More Text&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr class="network"&gt;
         &lt;td&gt;&lt;input ...&gt;&lt;/td&gt;
  &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>And selenium code as below:</p>
  
  <pre><code>    List&lt;WebElement&gt; tableRows =
      radioTable.findElements(By.CssSelector("tbody &gt; tr"));
      for (WebElement row : tableRows) {
      String s = row.getAttribute("class");
      if (s.equals("network")) {
  
      currentGroup.add(row.findElement(By.CssSelector(".network")));
      }
  </code></pre>
  
  <p>However the <code>row.findElement()</code> call searches from the top of the DOM and
  finds the same initial  each time.</p>
  
  <p>It would be very useful if <code>WebElement.findElement()</code> just searched under the
  current element.</p>