2 links have the same attributes

hi ! ,
I have 2 links () have the same attributes totally :frowning:
how to choose between them ?
the links are sign in buttons but the first is in the drop down list and the second in the sidebar and appeared only when the screen is small

I have a similar situation with two radio buttons with the same attributes.

Same issue here, how can we differentiate two more element having same attribute? Can we get all element into a list/array then access one by one like allElement.get(1)?

8 days and no answer. This forum is dead???

Can you post your html code?