Sha256: 9af7d6e16024e5ceb7c4d526470aa83ef8300b43593491a169972d40c8d25457

Contents?: true

Size: 549 Bytes

Versions: 14

Compression:

Stored size: 549 Bytes

Contents

<!DOCTYPE HTML>
<html>
  <head>
    <title>window switching</title>
    <script>
        function windowOpenDelayed(timeout) {
            setTimeout(function() {
                window.open("closeable.html");
            }, timeout);
        }
    </script>
  </head>

  <body>
    <p>
      Click <a id="open" href="#" onclick='window.open("closeable.html")'>here</a> to open a new window.
    </p>
    <p>
      Click <a id="delayed" href="#" onclick=windowOpenDelayed(1000)>here</a> to open a new window after a delay.
    </p>
  </body>
</html>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
watir-7.3.0 spec/watirspec/html/window_switching.html
watir-7.2.2 spec/watirspec/html/window_switching.html
watir-7.2.1 spec/watirspec/html/window_switching.html
watir-7.2.0 spec/watirspec/html/window_switching.html
watir-7.1.0 spec/watirspec/html/window_switching.html
watir-7.0.0 spec/watirspec/html/window_switching.html
watir-7.0.0.beta5 spec/watirspec/html/window_switching.html
watir-7.0.0.beta4 spec/watirspec/html/window_switching.html
watir-7.0.0.beta3 spec/watirspec/html/window_switching.html
watir-7.0.0.beta2 spec/watirspec/html/window_switching.html
watir-7.0.0.beta1 spec/watirspec/html/window_switching.html
watir-6.19.1 spec/watirspec/html/window_switching.html
watir-6.19.0 spec/watirspec/html/window_switching.html
watir-6.18.0 spec/watirspec/html/window_switching.html