Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3117 Vues

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?

Avatar
Ignorer
Meilleure réponse

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.

Avatar
Ignorer
Publications associées Réponses Vues Activité
3
sept. 25
3164
0
août 25
722
1
août 25
2914
2
juil. 25
8552
2
juil. 25
4932