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.13.0 lib/capybara/spec/views/with_unload_alert.erb
tdiary-5.0.11 vendor/bundle/gems/capybara-3.12.0/lib/capybara/spec/views/with_unload_alert.erb
tdiary-5.0.11 vendor/bundle/gems/capybara-3.6.0/lib/capybara/spec/views/with_unload_alert.erb
capybara-3.12.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.11.1 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.11.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.10.1 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.10.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.9.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.8.2 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.8.1 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.8.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.7.2 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.7.1 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.7.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.6.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.5.1 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.5.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.4.2 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.4.1 lib/capybara/spec/views/with_unload_alert.erb