How can I locate that element with xpath? (class name is not unique).
<a class="my-action" href="/my/path/page.html"></a>
Tried:
//a[@href='/my/path/page.html'] but did not succeed. What is wrong?
How can I locate that element with xpath? (class name is not unique).
<a class="my-action" href="/my/path/page.html"></a>
Tried:
//a[@href='/my/path/page.html'] but did not succeed. What is wrong?