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:
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
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