Sha256: c53758409b77c090368471e0360311c0e5acec325e7e76585bf80260e0e62f19

Contents?: true

Size: 638 Bytes

Versions: 50

Compression:

Stored size: 638 Bytes

Contents

<html>
    <head>
        <title>This is the child frame title</title>
        <script>
        function closeWin() {
          var iframe = window.parent.document.getElementById('childFrame');
          iframe.parentNode.removeChild(iframe)
        }
        </script>
    </head>
    <body id="childBody">
      <a href="javascript:void(0)" onClick="closeWin()">Close Window Now</a>
      <a href="javascript:void(0)" onClick="setTimeout(function(){closeWin()}, 10)">Close Window Soon</a>
      <iframe src="/frame_one" id="grandchildFrame1"></iframe>
      <iframe src="/frame_two" id="grandchildFrame2"></iframe>
    </body>
</html>

Version data entries

50 entries across 38 versions & 3 rubygems

Version Path
capybara-3.23.0 lib/capybara/spec/views/frame_child.erb
capybara-3.22.0 lib/capybara/spec/views/frame_child.erb
capybara-3.21.0 lib/capybara/spec/views/frame_child.erb
capybara-3.20.2 lib/capybara/spec/views/frame_child.erb
capybara-3.20.1 lib/capybara/spec/views/frame_child.erb
capybara-3.20.0 lib/capybara/spec/views/frame_child.erb
capybara-3.19.1 lib/capybara/spec/views/frame_child.erb
capybara-3.19.0 lib/capybara/spec/views/frame_child.erb
capybara-3.18.0 lib/capybara/spec/views/frame_child.erb
capybara-3.17.0 lib/capybara/spec/views/frame_child.erb