07-03-2016, 05:44 PM
Another way, works with all browsers but can be slow.
Macro Macro2696
Macro Macro2696
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