title: isSelected() method for checkbox always returns false
body: <p>There is a check box which is displaying as checked already, now when I inspect it shows with <strong>image src.</strong>  in HTML. When I click on the checkbox, it is getting unchecked or checked.</p>
  
  <p>To verify its state, I have written this code, which always brings false even though the checkbox is selected.</p>
  
  <pre><code>WebElement chBox = driver.findElement(By.xpath
       ("/html/body/div[3]/div[2]/form/fieldset/div[1]/table/tbody/tr[10]/td/img"));
  
          if (chBox.isSelected()) {
              System.out.println("User active check box is already checked");
          } else
              System.out.println("User active check box is not checked");
          }
  </code></pre>
  
  <p>Why?</p>