Here is the code that I have. Now, I want to fetch the content of nested frame. How can I achieve that?
<iframe id="frame1"> //outer frame
<body>
<div>Some inner contnet</div>
<iframe id="nestedIframe"> //inner frame
<body> //inner html goes here
<div>Inner content of the nested frame</div>
</body>
</iframe>
</body>
</iframe>