Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3126 Vizualizări

In Journal Entry for there are two buttons are available with same name as action_post.first one is Post and second one is Confirm.
I want to add replace the first button Post. How to do it through xpath?

Imagine profil
Abandonează
Cel mai bun răspuns

You can achieve it using [1] which will take first button of the name.

<xpath expr="//button[@name='action_post'][1]" position="replace">

Hope it will help you.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
3
sept. 25
3176
0
aug. 25
735
1
aug. 25
2930
2
iul. 25
8561
2
iul. 25
4936