How to find the button by text and click



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.


@szhao Why can’t you use Click element ?


The button to click will change with text


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


try to operate with button idx value instead of text.