Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Chrome - Find HTML element is null
#1
I can use this script to find IE 
int w=wait(3 WV win("Yahoo - Internet Explorer" "IEFrame"))
Htm e1=htm("A" "Mail  " "" w "0" 17 0x21 3)
e1.Click


but I use 
int w=wait(3 WV win("Yahoo - Google Chrome" "Chrome_WidgetWin_1"))
Htm e1=htm("A" "Mail  " "" w "0" 17 0x21 3)
e1.Click

is not working.How can i fix it?



Thanks !
#2
htm can only be used with internet explorer. In chrome need to use acc instead 
see https://www.quickmacros.com/help/Functio...SIBLE.html 
for more info.

will be something like this
Code:
Copy      Help
int w=wait(3 WV win("Yahoo - Google Chrome" "Chrome_WidgetWin_1"))
Acc a.Find(w "LINK" "Check your mail" "" 0x2031 3)
a.DoDefaultAction
#3
Thanks !


Forum Jump:


Users browsing this thread: 1 Guest(s)