- Регистрация
- 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?
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?