javascript - Setup the objetname of new open browser in vbscript -
for each ele in elementcol if instr(objie.document.getelementsbytagname("img")(x).outerhtml,vart) > 0 objie.document.getelementsbytagname("img")(x).click 'after event new ie browser opened exit end if x = x + 1 next while objie.busy wscript.sleep 100 wend wscript.sleep 10000 set elementgo = objie.document.getelementsbytagname("img") x = 0 ' object not vart = "text1" 'msgbox vart each ele in elementgo msgbox objie.document.getelementsbytagname("img")(x).outerhtml msgbox instr(objie.document.getelementsbytagname("img")(x).outerhtml,vart) if instr(objie.document.getelementsbytagname("img")(x).outerhtml,vart) > 0 objie.document.getelementsbytagname("img")(x).click 'msgbox "click" exit end if x = x + 1 next
now problem not able read second browser open. there way read , assign new object opened when code executed?
first of all, getting errors when trying navigate directly final (second webbrowser) link, not solution.
summary : need help
- how setup webbrowser object open in new window
- is there way read new window in new tab.
thanks
Comments
Post a Comment