Sha256: 43b34ad7f68f610178e40218ca8d562b1cdf879c7e24844634583e3fa91f8e66

Contents?: true

Size: 349 Bytes

Versions: 135

Compression:

Stored size: 349 Bytes

Contents

<html>
<head>
  <script>
    function delay_unload() {
      var start = new Date();
      var i = 0;
      while ((new Date()) - start < 1000){ i = i + 1; };
      return null;
    }
    window.onbeforeunload = delay_unload;
    window.onunload = delay_unload;
  </script>
</head>
<body>
  <div>This delays unload by 2 seconds</div>
</body>
</html>

Version data entries

135 entries across 118 versions & 5 rubygems

Version Path
capybara-3.23.0 lib/capybara/spec/views/with_slow_unload.erb
capybara-3.22.0 lib/capybara/spec/views/with_slow_unload.erb
capybara-3.21.0 lib/capybara/spec/views/with_slow_unload.erb
capybara-3.20.2 lib/capybara/spec/views/with_slow_unload.erb
capybara-3.20.1 lib/capybara/spec/views/with_slow_unload.erb
capybara-3.20.0 lib/capybara/spec/views/with_slow_unload.erb
capybara-3.19.1 lib/capybara/spec/views/with_slow_unload.erb
capybara-3.19.0 lib/capybara/spec/views/with_slow_unload.erb
capybara-3.18.0 lib/capybara/spec/views/with_slow_unload.erb
capybara-3.15.1 lib/capybara/spec/views/with_slow_unload.erb
capybara-3.17.0 lib/capybara/spec/views/with_slow_unload.erb
capybara-3.16.2 lib/capybara/spec/views/with_slow_unload.erb
tdiary-5.0.13 vendor/bundle/gems/capybara-3.15.0/lib/capybara/spec/views/with_slow_unload.erb
capybara-3.16.1 lib/capybara/spec/views/with_slow_unload.erb
tdiary-5.0.12.1 vendor/bundle/gems/capybara-3.15.0/lib/capybara/spec/views/with_slow_unload.erb
capybara-3.16.0 lib/capybara/spec/views/with_slow_unload.erb
capybara-3.15.0 lib/capybara/spec/views/with_slow_unload.erb
capybara-3.14.0 lib/capybara/spec/views/with_slow_unload.erb
capybara-3.13.2 lib/capybara/spec/views/with_slow_unload.erb
capybara-3.13.1 lib/capybara/spec/views/with_slow_unload.erb