iframe chrome console

//Make sure to select 'top' from JS context dropdown menu in chrome devtools console

document.querySelector('iframe class/id').contentWindow.document.querySelector('body').innerHTML
Talal Siddiqui