Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10303)

Unified Diff: chrome/test/webdriver/test/not_clickable.html

Issue 7465053: In chromedriver, check if an element is clickable before clicking. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/webdriver/test/chromedriver_tests.py ('k') | third_party/webdriver/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/test/not_clickable.html
diff --git a/chrome/test/webdriver/test/not_clickable.html b/chrome/test/webdriver/test/not_clickable.html
new file mode 100644
index 0000000000000000000000000000000000000000..30f7723315e7433007a683499c80c78617db0ed3
--- /dev/null
+++ b/chrome/test/webdriver/test/not_clickable.html
@@ -0,0 +1,15 @@
+<html>
+ <style>
+ .over {
+ position: relative;
+ top: -30px;
+ height: 100px;
+ background-color: black;
+ opacity: 0.5;
+ }
+ </style>
+ <body>
+ <a name='click' href='javascript:console.log("clicked")'>Click</a>
+ <div class='over'>ok</div>
+ </body>
+</html>
« no previous file with comments | « chrome/test/webdriver/test/chromedriver_tests.py ('k') | third_party/webdriver/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698