Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loop and open link in another 'window/control'
#9
Carlos,

There's no (shadow)DOM at ActiveX level, so you can't really do things like the old interface.
You can however return the full html of the element and parse that html on your end.

Something along the lines of:
Code:
() => {
  let obj = document.getElementById("MPFooter");
  return obj.outerHTML;
  }

would then return the full content of html element with Id "MPFooter".

Edit:
BTW, if you know the Id already and what Attribute you are looking for then you can skip all that and use a couple of AntView document functions: ElementHasAttributeById and RequestElementAttributeById 
(or there Synchronized alternatives ElementHasAttributeByIdSync and RequestElementAttributeByIdSync
--
Wil
Reply


Messages In This Thread
RE: Loop and open link in another 'window/control' - by wila - 2024-12-03, 13:25:47

Forum Jump:


Users browsing this thread: 1 Guest(s)