title: How to get web table value in selenium webdriver
body: <p>I  am facing some issues for getting the column value from a web table in selenium webdriver. Please let me know how to get the value.</p>
  
  <p><code>HTML</code>: </p>
  
  <pre><code>&lt;table id="ext-gen1916" class="x-grid-table x-grid-table-resizer x-unselectable" cellspacing="0" cellpadding="0" border="0" style="width: 4569px; -moz-user-select: none;"&gt;&lt;tbody&gt;
    &lt;tr&gt;
      &lt;tr class="x-grid-row x-grid-row-selected x-grid-row-focused x-grid-row-over"&gt;
      &lt;td class=" x-grid-cell x-grid-cell-gridcolumn-1157 x-grid-clean-cell x-grid-cell-special x-grid-cell-first"&gt;
      &lt;td id="ext-gen1949" class=" x-grid-cell x-grid-cell-actioncolumntext-1115 x-grid-clean-cell x-action-col-cell "&gt;
      &lt;td id="ext-gen1943" class=" x-grid-cell x-grid-cell-gridcolumn-1126 x-grid-clean-cell "&gt;
      &lt;td id="ext-gen1944" class=" x-grid-cell x-grid-cell-gridcolumn-1127 x-grid-clean-cell "&gt;
      &lt;td id="ext-gen1917" class=" x-grid-cell x-grid-cell-gridcolumn-1128 x-grid-clean-cell "&gt;
          &lt;div id="ext-gen1918" class="x-grid-cell-inner x-unselectable" style="; text-align: left;" unselectable="on"&gt;FP&lt;/div&gt;
      &lt;/td&gt;
  </code></pre>
  
  <p><code>Java</code> code:</p>
  
  <pre><code>ele=driver.findElement(By.xpath("//td[15]/div")); 
  ele.getText(); 
  System.out.println(ele.getText());
  </code></pre>