title: How to click on a particular row of webtable in selenium
body: <p>I have web table which has 95 div lines in web table.I want to click on each one of them but am unable to do it.The x path of 1st line,2nd one and the last one am pasting here.Data is not written in rows and columns so that's why am getting confused.Can anyone tell me how to deal with the x paths which am pasting below:</p>
  
  <ol>
  <li><code>css=div.x-grid3-cell-inner.x-grid3-col-title-col1</code></li>
  <li><code>//div[@id='ext-gen1013']/div[2]/table/tbody/tr/td/div</code></li>
  <li><code>//div[@id='ext-gen1013']/div[95]/table/tbody/tr/td/div..</code></li>
  </ol>
  
  <p>1st one is css selector and from 2nd one onwards i have x paths with div[x] value changing rest all are same.</p>
  
  <p>1st HTML mark up table</p>
  
  <pre><code>&lt;div class="x-grid3-row x-grid3-row-first" style="width:250px;"&gt;
  &lt;table class="x-grid3-row-table" cellspacing="0" cellpadding="0" border="0" style="width:250px;"&gt;
  &lt;tbody&gt;
  &lt;tr&gt;
  &lt;td class="x-grid3-col x-grid3-cell x-grid3-td-title-col1 x-grid3-cell-first " tabindex="0" style="width: 248px;"&gt;
  &lt;div class="x-grid3-cell-inner x-grid3-col-title-col1" unselectable="on"&gt;DFSAFSDHL&lt;/div&gt;
  &lt;/td&gt;
  &lt;td class="x-grid3-col x-grid3-cell x-grid3-td-title-col2 x-grid3-cell-last " tabindex="0" style="width: 48px;display: none; "&gt;
  &lt;/tr&gt;
  &lt;/tbody&gt;
  &lt;/table&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>2nd div class html mark up table.</p>
  
  <pre><code>&lt;div class="x-grid3-row " style="width:250px;"&gt;
  &lt;table class="x-grid3-row-table" cellspacing="0" cellpadding="0" border="0" style="width:250px;"&gt;
  &lt;tbody&gt;
  &lt;tr&gt;
  &lt;td class="x-grid3-col x-grid3-cell x-grid3-td-title-col1 x-grid3-cell-first " tabindex="0" style="width: 248px;"&gt;
  &lt;div class="x-grid3-cell-inner x-grid3-col-title-col1" unselectable="on"&gt;DIR&lt;/div&gt;
  &lt;/td&gt;
  &lt;td class="x-grid3-col x-grid3-cell x-grid3-td-title-col2 x-grid3-cell-last " tabindex="0" style="width: 48px;display: none; "&gt;
  &lt;div class="x-grid3-cell-inner x-grid3-col-title-col2" unselectable="on"&gt;Distribution&lt;/div&gt;
  &lt;/td&gt;
  &lt;/tr&gt;
  &lt;/tbody&gt;
  &lt;/table&gt;
  &lt;/div&gt;
  </code></pre>