Index: chrome/test/chromedriver/client/chromedriver.py |
diff --git a/chrome/test/chromedriver/client/chromedriver.py b/chrome/test/chromedriver/client/chromedriver.py |
index a0fe44a31c9151ce925f548581dddf1ed3aa4692..ac5c478a459d8d90770bf0b1c94d992d7d7c4abe 100644 |
--- a/chrome/test/chromedriver/client/chromedriver.py |
+++ b/chrome/test/chromedriver/client/chromedriver.py |
@@ -217,6 +217,15 @@ class ChromeDriver(object): |
def MouseDoubleClick(self, button=0): |
self.ExecuteCommand(Command.MOUSE_DOUBLE_CLICK, {'button': button}) |
+ def TouchDown(self, x, y): |
+ self.ExecuteCommand(Command.TOUCH_DOWN, {'x': x, 'y': y}) |
+ |
+ def TouchUp(self, x, y): |
+ self.ExecuteCommand(Command.TOUCH_UP, {'x': x, 'y': y}) |
+ |
+ def TouchMove(self, x, y): |
+ self.ExecuteCommand(Command.TOUCH_MOVE, {'x': x, 'y': y}) |
+ |
def GetCookies(self): |
return self.ExecuteCommand(Command.GET_COOKIES) |