Hi,
This is my HTML
<td><span><a href="www.myurl.com">MyText</a><br></span></td>
I can extract “MyText” using:
${mytext} get text xpath://div/table/tbody/tr[1]/td[7]/span/a
but I cannot extract the url from this table cell, I have tried:
${myurl} get value xpath://div/table/tbody/tr[1]/td[7]/span/a
and
${myurl} get element attribute xpath://div/table/tbody/tr[1]/td[7]/span/a
this is the full xpath to the ahref using chrome dev tools:
/html/body/app-root/body/div/div[2]/app/div/p-table/div/div/table/tbody/tr[1]/td[7]/span/a
any ideas what I am doing wrong thank you.