Tak DOM --> Nothing was found --> Take the Negative exit?

irmscher

Client
Регистрация
28.11.2012
Сообщения
199
Благодарностей
6
Баллы
18
Hey

Rather often I need to check whether a certain text is present on the page, if yes, save it to variable. Currently if there's no such text the script just carries on through green exit which is a bit odd. For example, I'm taking DOM and want to go through negative exit if it doesn't find any.

What do you think?
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113
For that you can use IF action. Add '{-Variable.variable-}'!='' and if text is there then it will go through green dot. If text is not there then through red ;-)
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)