Имея ниже HTML.Я хочу выбрать определенный элемент, используя xpath
<tbody>
<tr role="row" id="gridview-1034-record-ext-record-1" data-boundview="gridview-1034" data-recordid="ext-record-1" data-recordindex="0" class="x-grid-row x-grid-data-row x-grid-row-selected x-grid-row-focused" tabindex="-1">
<td role="gridcell" class="x-grid-cell x-grid-td x-grid-cell-gridcolumn-1010 x-grid-cell-first x-unselectable " id="ext-gen1139">
<div unselectable="on" class="x-grid-cell-inner " style="text-align:left;">03 Oct 2018</div>
</td>
<td role="gridcell" class="x-grid-cell x-grid-td x-grid-cell-gridcolumn-1013 x-unselectable " id="ext-gen1140">
<div unselectable="on" class="x-grid-cell-inner " style="text-align:left;">Sales Quotation</div>
</td>
<td role="gridcell" class="x-grid-cell x-grid-td x-grid-cell-gridcolumn-1016 x-unselectable " id="ext-gen1141">
<div unselectable="on" class="x-grid-cell-inner " style="text-align:left;">000079</div>
</td><td role="gridcell" class="x-grid-cell x-grid-td x-grid-cell-gridcolumn-1019 x-unselectable " id="ext-gen1142">
<div unselectable="on" class="x-grid-cell-inner " style="text-align:left;">ABC Bearings Ltd.</div>
</td><td role="gridcell" class="x-grid-cell x-grid-td x-grid-cell-gridcolumn-1022 x-unselectable " id="ext-gen1143">
<div unselectable="on" class="x-grid-cell-inner " style="text-align:left;"> </div></td><td role="gridcell" class="x-grid-cell x-grid-td x-grid-cell-gridcolumn-1025 x-unselectable " id="ext-gen1144"><div unselectable="on" class="x-grid-cell-inner " style="text-align:right;">8,000.00</div>
</td><td role="gridcell" class="x-grid-cell x-grid-td x-grid-cell-gridcolumn-1028 x-unselectable " id="ext-gen1145">
<div unselectable="on" class="x-grid-cell-inner " style="text-align:left;">No</div></td>
<td role="gridcell" class="x-grid-cell x-grid-td x-grid-cell-gridcolumn-1031 x-grid-cell-last x-unselectable " id="ext-gen1146">
<div unselectable="on" class="x-grid-cell-inner " style="text-align:left;">Approved</div>
</td>
</tr>
</tbody>
Я не могу найти элемент ниже и щелкнуть по нему с помощью XPath, используя приведенный ниже код.
Помощь будет высоко ценится
element(by.xpath('//tbody/tr/td/div')).click();
expect(div.getText()).toBe('000079');