Sha256: b2381b0f59ba6ef996e5ad564cca742571aed6b0cc056dff76d29b7e8c55eaf0

Contents?: true

Size: 603 Bytes

Versions: 2

Compression:

Stored size: 603 Bytes

Contents

<html>
  <head>
    <script src="../watirspec/html/javascript/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
  </head>
  <script>
  $(document).ready(function() {
    $("#click-logger").click(function(evt) {
      $("#log").append("<p>shift=" + evt.shiftKey + " alt=" + evt.altKey + "</p>");
    });
  });
  </script>
  <body>
    <div id="click-logger">click me</div>
    <div id="log"></div>
    <div>
      <div onclick="this.innerHTML = 'You Clicked It!'" style="color: red; text-decoration: underline; cursor: pointer;">Can You Click This?</div>
    </div>
  </body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
watir-webdriver-0.9.0 spec/html/clicks.html
watir-webdriver-0.8.0 spec/html/clicks.html