Shell.Explorer.2 : How to extract iFrame content?

To extract the content of an HTML element having an id, I can use …

?IE{‘document.getElementById(“id_Name”).innerhtml’}

But how can I get the content of an iFrame (which actually contains another document) when it doesn’t have an id ?

The element above and encapsulating the iFrame does have an id so I can get that using this syntax, the result contains the opening and closing iframe tags but there is no content between them (ie: all the content that can be seen on-screen is missing).

I suppose what I’m really after is a reference the document in the iframe ?

Get an element by class name:

document.getElementsByClassName(‘test’).innerHTML

Get element by an attribute property:

document.querySelectorAll(‘span[property]’).innerHTML

I just noticed you’re talking about using shell explorer.

My apologies.