score:1

Accepted answer

edit:

in your pastebin it is simply accessible by id

debug.print ie.document.getelementbyid("aplg0_lnk").innertext

for elements with parent frame and form tags: you have to account for the frame in your selection path. the form possibly.

to account for the frame only, and use the id of the target element, you would use syntax such as:

 debug.print ie.document.getelementsbyname("crma")(0).contentdocument.getelementbyid("aplg0_lnk").innertext

similarly, syntax such as:

debug.print ie.document.getelementsbytagname("frame")(0).contentdocument.getelementbyid("aplg0_1nk").innertext

in the less likely event of needing to account for form, something like:

debug.print ie.document.getelementsbyname("crma")(0).contentdocument.queryselector("form #aplg0_lnk").innertext

Related Query

More Query from same tag