I have to get the following selector. There's several of them:
<td id="content_gvNewLeads_tccell0_5" class="dxgv dx-ellipsis" align="left" style="border-bottom-width:0px;">
<a onclick="return ShowCallDialog(494038, 7);">2 Cloister Court </a>
</td>
I'm using puppeteer-select which allows me to use sizzle
await select(page).assertElementPresent('td.Id:contains(content_gvNewLeads_tccel) > a');
const element = await select(page).getElement('td.Id:contains(content_gvNewLeads_tccel) > a');
await element.click()
The error I get is:
Error: an element with selector: "td.Id:contains(content_gvNewLeads_tccel) > a" not found
Any idea how to accomplish this?