I am trying to find the textContent for a HTML page called by an iframe SRC but cannot come up with the correct code to find it. Firebug shows its there nested under parent and child but its too confusing to make sense of what code will get me there. DOM structure is :
html >> body >> iframe >> html >>body >>textContent
using window.document.body.textContent; returns the textContent of the iframe but I cannot figure out the code to get me to the last lower level textContent where the body content of the iframe SRC HTML page resides.
Hope someone can help !