Check for text presence issue.

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Реакции
26
Баллы
28
Re latest ver: 5.9.9.0

When I highlight any text > check presence of text, nothing displays in the box.

OouMOKR.jpg
 
It's in the page source code:

Код:
Развернуть Свернуть Копировать
<label for="captcha_Ipt">Enter the numbers in the image</label>
 
It's in the page source code:

Код:
Развернуть Свернуть Копировать
<label for="captcha_Ipt">Enter the numbers in the image</label>

It wont work :)

Like this same action is called check of text on page. So it have to be in page text to work.

Try this code. Its better than this text presence checker :)

C#:
Развернуть Свернуть Копировать
var tab = instance.ActiveTab;
if(tab.PageText.Contains("Enter the numbers in the image")) return true;
else return null;

Cheers
 
  • Спасибо
Реакции: shabbysquire
Thanks Lokiys for the workaround c#, I'll use that if it happens again.

It seems that it's now working again in PM.

I usually use text on page, but in Dom there is source option. Can't I parse it from there?
 
You can change in Indy's snippet PageText to DomText
 
  • Спасибо
Реакции: shabbysquire

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