title: Selenium webdriver webelemenet.isSelected() returns incorrect values
body: <p>I am trying to check if the checkbox is checked or not, for this I am using isSelected.
  My checkbox is a div</p>
  
  <pre><code>div class="mainSprite chkBox" data-dojo-attach-event="onclick:toggle" data-dojo-attach-point="chkNode"
  </code></pre>
  
  <p>I find the div with xpath and isSelected always returns false irrespective of weather the checkbox is checked or not.
  I am using slenium webdriver 2.40 and FF28</p>