clickleftbytext
Last updated
Last updated
This action will click on a clickable element based on a text elsewhere in the screen. This can be usefull for actions in table for example. Here we click on on element on the left of a text
Property
text
text display on the screen or text1|text2 with text1 display on the screen and text2 for the text of the object (ex:button).
Parameter
empty
If just one text in the property, click on the first clickable element at the left of the text.
If two parameters, we search for text1 and click on the first clickable element at the left of text1 and containing text2.
For example, in https://codepen.io/cristinaconacel/pen/zmgmxE :
if we use the action clickleftbytext with property='Bootstrap Grid 4' it will click on the checkbox of line 2 :
We can also use context keyword to manage duplicated text.