clicktext
Last updated
Last updated
Click on an element
Property
text
text display on the screen
Parameter
index
index of the texte (1 for the first texte, 2 for the second, ...)
For example, in https://tickets.cdiscount.com/fr/resultat?ipSearch=parc+ast%C3%A9rix if we use the action clicktext with the Property="Réserver" and the Parameter=1 the action will search for the first button with the text Réserver.
If we use the action clicktext with the Property="Réserver|context=VOTRE RECHERCHE" and the Paramètre=1 the action will search for the first button Réserver near "VOTRE RECHERCHE".
If we use the action clicktext with the Property="Réserver|contexte= //section[@class="results-output"]" and the Paramètre=2 the action will search for the second button in the result containor.