Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 97802

Three elements have the same attribute but xpath keeps changing [closed]

$
0
0

1

<a  data-action="Delete" data-area="GENRE/CPP" data-title="Layer" 
    class="data-popup initIcon deleteBtn ui-button ui-corner-all ui-widget tooltips" 
    role="button">
    Delete
    <span class="tooltipContents" style="top: 36px; left: -9.5px; display: none;">
        Delete
    </span>
</a>

2

<a data-action="Delete" data-area="GENRE/CPP" data-title="Layer" 
    class="data-popup initIcon deleteBtn ui-button ui-corner-all ui-widget tooltips" 
    role="button">
    Delete
    <span class="tooltipContents" style="top: 36px; left: -9.5px; display: none;">
        Delete
    </span>
</a>

3

<a data-action="Delete" data-area="GENRE/CPP" data-title="Layer" 
    class="data-popup initIcon deleteBtn ui-button ui-corner-all ui-widget tooltips" 
    role="button">
    Delete
    <span class="tooltipContents" style="top: 36px; left: -9.5px; display: none;">
        Delete
    </span>
</a>

How do I differentiate between them?


Viewing all articles
Browse latest Browse all 97802

Trending Articles