How to locate the table that does not have an identifier or a name

advertisements

I need to locate the table,then locate the tr and td,but the table doesn't have the id and the name,so how to locate the table?I know should use index,unfortunately it doesn't work. there are 10 tables in the page,I want to locate "refesh" in the row of the table,may be so easy,but I cannot resolve it...I don't know how to locate the particular table...,no id,no name,how can I judge which table is what I want to locate

there is the part of the code:

<table cellspacing="0" border="0" style="height:63px; width:">
  <tbody>
    <tr>
      <td style=" ">
        <table cellspacing="0" border="0" style="margin-top:14px; width:112px; padding-left:15px;">
          <tbody>
            <tr>
              <td style="" rowspan="2"></td>
              <td id="tdrefresh" style="height:28px;" colspan="2">
                <div align="center" onclick="refresh(this,13652,1,1,0,0)" style="margin-bottom:15px;">
                  <div align="center" style="color:#414141;">refresh</div>
                </div>
              </td>
            </tr>
          </tbody>
        </table>
      </td>
    </tr>
  </tbody>
</table>


Have you tried browser.cell(:id => "tdrefresh") to locate the cell?