How to find the button by text and click

studio

#1


As the picture shows,I want to find the underlined button on the web pages by text and then chick the button. However, I tried to do it by find text position activity. It doesn’t work.


#2

@szhao Why can’t you use Click element ?


#3

The button to click will change with text


#4

Your can add the text which is dynamic as variable to the selector.


#5

try to operate with button idx value instead of text.