Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3105 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
sept 25
3155
0
ago 25
709
1
ago 25
2893
2
jul 25
8538
2
jul 25
4925