Sha256: e26adf3e1f923b584f6080abc15543ff9e5a0e12f0f7a31f7fc68b796ba11b54

Contents?: true

Size: 220 Bytes

Versions: 131

Compression:

Stored size: 220 Bytes

Contents

<html>
<head>
  <script>
      window.onbeforeunload = function(e) {
        return 'Unload?';
      };
  </script>
</head>
<body>
  <div>This triggers an alert on unload</div>

  <a href="/">Go away</a>
</body>
</html>

Version data entries

131 entries across 114 versions & 4 rubygems

Version Path
capybara-3.4.0 lib/capybara/spec/views/with_unload_alert.erb
tdiary-5.0.9 vendor/bundle/gems/capybara-3.2.1/lib/capybara/spec/views/with_unload_alert.erb
capybara-3.3.1 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.3.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.2.1 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.2.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.1.1 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.1.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.0.3 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.0.2 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.0.1 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.0.0 lib/capybara/spec/views/with_unload_alert.erb
tdiary-5.0.8 vendor/bundle/gems/capybara-2.18.0/lib/capybara/spec/views/with_unload_alert.erb
tdiary-5.0.8 vendor/bundle/ruby/2.5.0/gems/capybara-2.18.0/lib/capybara/spec/views/with_unload_alert.erb
tdiary-5.0.8 vendor/bundle/gems/tdiary-5.0.7/vendor/bundle/gems/capybara-2.16.1/lib/capybara/spec/views/with_unload_alert.erb
capybara-3.0.0.rc2 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.0.0.rc1 lib/capybara/spec/views/with_unload_alert.erb
capybara-2.18.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-2.17.0 lib/capybara/spec/views/with_unload_alert.erb
tdiary-5.0.7 vendor/bundle/gems/capybara-2.16.1/lib/capybara/spec/views/with_unload_alert.erb