title: Getting the right WebElement in WebDriver
body: <p>I have an HTML page that roughly looks like this:</p>
  
  <pre><code>&lt;div id="rolesRollerBody" style="height: 309px;"&gt;
      &lt;input type="checkbox" onclick="checkAll('removeRolesForm');" name="allbox"&gt;
      Select all
      &lt;br&gt;&lt;br&gt;
      &lt;input type="checkbox" value="49893" name="delRole"&gt;
      CCC11
      &lt;br&gt;
      &lt;input type="checkbox" value="49881" name="delRole"&gt;
      TEST111
      &lt;br&gt;&lt;br&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I am getting the entire panel by using:</p>
  
  <pre><code>WebElement deletePanel = driver.findElement(By.className("bulkUpdateBody"))
              .findElement(By.id("rolesRollerBody"));
  </code></pre>
  
  <p>Now I need to get the checkbox with the name 'TEST111'. The problem is, I am not able to get the text 'TEST111'.</p>