Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
3106 Visninger

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
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
3
sep. 25
3162
0
aug. 25
711
1
aug. 25
2909
2
jul. 25
8544
2
jul. 25
4931