Closed liuxiaopiao closed 3 years ago
Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!
Describe the problem couldn't handle nested iframe
Versions 2.1 Which OS: Windows
Steps to Reproduce
<body><iframe src="src1URL" name="frame1">#document<iframe src="src2URL" ame="frame2">#document<div class="clickable"></iframe></iframe></body>
page.switchToFrame('frame1'); console.log(page.frameContent); page.switchToFrame('frame2'); console.log(page.frameContent);
Actual behavior The program hangs without any error.
Expected behavior Can print the iframe content