SOLUTION for dynamic/changing Xpath ???

28 views
Skip to first unread message

Nenito Leculte

unread,
Jun 8, 2024, 12:01:42 PMJun 8
to Auto Clicker - AutoFill
hi all !
please note that i am no coder ! here goes the question

my bank website asks for a password that is witten by using a virtual keyboad...

1- upon each page refresh they keys are displayed randomly !
2- xpath for each letter therefore changes
3- is it possible to still used the extension here ? i tested for hours and cannot find any solution...

here is the element  in the inspected page to give you an idea: (just a few letters copied)

LETTER D
<button type="button" class="keypad-key ui-state-default" title="" role="button" aria-disabled="false">d</button>

LETTER I
<button type="button" class="keypad-key ui-state-default" title="" role="button" aria-disabled="false">i</button>

LETTER N
<button type="button" class="keypad-key ui-state-default" title="" role="button" aria-disabled="false">n</button>


Xpath for these letter is displayed as follow:

//*[@id="form:securityMethodId"]/div[A]/div[B]/button[C]

Values A/B/C change upon each page refresh like i said

any input would be very appreciated !!!

Message has been deleted

Nenito Leculte

unread,
Jun 11, 2024, 8:17:57 AMJun 11
to Auto Clicker - AutoFill
i was contacted by the autor that suggested simply to use : 

/button[contains(text(),”xxxxxxxxxxxxxxxxxxxxx”)]  instead of xpath; that did the trick !

thanks
Reply all
Reply to author
Forward
0 new messages