I need to grab string values from elements inside the iframe, so this wouldnt do it for me
Me too, I've tried your solution and it worked partially in NWJS but not in standard browsers.
This is what I did:
1- Created a second Iframe (Iframe2) next to the iframe which loads the website (Iframe1).
2- Got the document innerHTML of the Iframe1
3- Assigned the innerHTML to the Iframe 2
4- Got the strings from Iframe2.
It worked well for most of the websites, but not all of them allow this.
Just give it a try.