title: how to get text from hidden html row using selenium webdriver java
body: <p>Here is the html row element:</p>
  
  <pre><code>&lt;tr style="display:none"&gt;
             &lt;td&gt;23&lt;/td&gt;
            &lt;td class="mandatory"&gt;
             Overall Percentage
             &lt;/td&gt;
             &lt;td&gt;
             50
             &lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <hr>
  
  <pre><code>String overallProgress = driver.findElement(By.xpath("//*[@id=\"DivBuilding\"]/div/table/tbody/tr[4]/td[2]/table/tbody/tr[23]/td[3]")).getText();
  </code></pre>
  
  <p>This does not work. I understand findElement gets only visible data, how can I resolve this?</p>
  
  <p>My HTML is like below:</p>
  
  <pre><code>&lt;tr style="display:none"&gt; &lt;td&gt;11&lt;/td&gt; &lt;td class="mandatory"&gt; Overall Percentage of Completion of the work done For the entire Building /Wing &lt;/td&gt; &lt;td&gt; 31.5 &lt;/td&gt; &lt;/tr&gt;
  </code></pre>
  
  <p>I would like to get the number "31.5" from the above </p>