I am having issues trying to select an element.
<tr data-code="ABCfix10.8"> <td>[UNRELATED CODE]</td> <td> <a href="https://unusable-dynamic-link.com" class="unusable-generic-class">Apply</a> </td> </tr>
Basically I need to be able to find the tr that has a data-code attribute that starts with “ABC” and then click on the Apply link.
All other attributes (ID/class/link) are either dynamically generated or generic so cannot be used. The only static attribute is this data-code attribute.
Any help appreciated!