summaryrefslogtreecommitdiffstats
path: root/third_party/webdriver/test_data/globalscope.html
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/webdriver/test_data/globalscope.html')
-rw-r--r--third_party/webdriver/test_data/globalscope.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/third_party/webdriver/test_data/globalscope.html b/third_party/webdriver/test_data/globalscope.html
new file mode 100644
index 0000000..e4ca97a
--- /dev/null
+++ b/third_party/webdriver/test_data/globalscope.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Global scope</title>
+ <script type="text/javascript">
+ window.w = "w";
+ window.h = "h";
+ window.__webdriver_w = "__webdriver_w";
+ window.__webdriver_h = "__webdriver_h";
+ </script>
+ </head>
+ <body>
+ <div style="position: absolute; left: 10px; top: 10px; height: 10px; width: 10px; background-color: blue;" id="toclick"></div>
+ </body>
+</html>