Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3121 Представления

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?

Аватар
Отменить
Лучший ответ

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.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
3
сент. 25
3169
0
авг. 25
729
1
авг. 25
2919
2
июл. 25
8559
2
июл. 25
4933