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.23.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.22.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.21.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.20.2 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.20.1 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.20.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.19.1 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.19.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.18.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.15.1 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.17.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.16.2 lib/capybara/spec/views/with_unload_alert.erb
tdiary-5.0.13 vendor/bundle/gems/capybara-3.15.0/lib/capybara/spec/views/with_unload_alert.erb
capybara-3.16.1 lib/capybara/spec/views/with_unload_alert.erb
tdiary-5.0.12.1 vendor/bundle/gems/capybara-3.15.0/lib/capybara/spec/views/with_unload_alert.erb
capybara-3.16.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.15.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.14.0 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.13.2 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.13.1 lib/capybara/spec/views/with_unload_alert.erb