Sha256: bb20597829b5802279a16980bb37e62f384cf605de191750dba9b5e9e00d6125
Contents?: true
Size: 1.05 KB
Versions: 3
Compression:
Stored size: 1.05 KB
Contents
<html> <head> <title>With Windows</title> <script src="/jquery.js" type="text/javascript" charset="utf-8"></script> <script language="javascript" type="text/javascript"> $(document).ready(function(){ $('#openWindow').click(function(){ window.open('/popup_one', 'firstPopup'); return false; }); $('#openWindowWithTimeout').click(function(){ setTimeout(function(){ window.open('/popup_one', 'firstPopup'); }, 600); return false; }); $('#openTwoWindows').click(function() { window.open('/popup_one', 'firstPopup'); window.open('/popup_two', 'secondPopup'); return false; }); }); </script> </head> <body> <button id="openWindow">Open new window</button> <button id="openWindowWithTimeout">Open new window with timeout</button> <button id="openTwoWindows">Open two windows</button> <button id="doesNotOpenWindows">Does not open windows</button> <iframe src="/frame_one" id="frameOne"></iframe> </body> </html>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
capybara-2.4.1 | lib/capybara/spec/views/with_windows.erb |
capybara-2.4.0 | lib/capybara/spec/views/with_windows.erb |
capybara-2.3.0 | lib/capybara/spec/views/with_windows.erb |