globalscope.html 418 B

123456789101112131415
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Global scope</title>
  5. <script type="text/javascript">
  6. window.w = "w";
  7. window.h = "h";
  8. window.__webdriver_w = "__webdriver_w";
  9. window.__webdriver_h = "__webdriver_h";
  10. </script>
  11. </head>
  12. <body>
  13. <div style="position: absolute; left: 10px; top: 10px; height: 10px; width: 10px; background-color: blue;" id="toclick"></div>
  14. </body>
  15. </html>