Back to all steps
Click social button
Step fields
1
selector
(text)
2
comma-separated «already done» words
(text)
In a scenario, fields are joined with
|.Click «like», «follow» and similar - but only if it has not been clicked yet. Format: selector|word1, word2.
Example: .follow-btn|Following, Unfollow, Liked.
The words are looked up both in the button text and in its attributes (aria-label, class, title) - the state usually lives there. On a match the step succeeds without clicking: a second click would undo what was already done.
Example: .follow-btn|Following, Unfollow, Liked.
The words are looked up both in the button text and in its attributes (aria-label, class, title) - the state usually lives there. On a match the step succeeds without clicking: a second click would undo what was already done.