Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Finding Text in web page
#5
Another way, works with all browsers but can be slow.
Macro Macro2696
Code:
Copy      Help
int w=wait(3 WV win("Quick Macros Forum • View topic - Finding Text in web page - Google Chrome" "Chrome_WidgetWin_1"))
Acc a.Find(w "DOCUMENT" "" "" 0x3001 3)
ARRAY(Acc) k
a.GetChildObjects(k -1)
int i found
for i 0 k.len
,str s=k[i].Name; err continue
,if(s.len=0) s=k[i].Value; err continue
,if findrx(s "\bHighest Educational\b")>=0
,,found=1
,,break
out found


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)