selenium-webdriver
Version:
The official WebDriver JavaScript bindings from the Selenium project
16 lines (15 loc) • 418 B
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>