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

  1. how setup webbrowser object open in new window
  2. is there way read new window in new tab.

thanks


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -