Skip to content

Commit 840b93e

Browse files
committed
Change 'actions' to 'gestures' in single action
1 parent 7c2f41d commit 840b93e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

appium/webdriver/common/touch_action.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def release(self):
9090
def perform(self):
9191
"""Perform the action by sending the commands to the server to be operated upon
9292
"""
93-
params = {'actions': self._actions}
93+
params = {'gestures': self._actions}
9494
self._driver.execute(Command.TOUCH_ACTION, params)
9595

9696
# get rid of actions so the object can be reused
@@ -122,7 +122,7 @@ def _get_opts(self, element, x, y, duration = None):
122122
x, y = None, None
123123
opts['x'] = x
124124
opts['y'] = y
125-
125+
126126
if duration is not None:
127127
opts['duration'] = duration
128128

0 commit comments

Comments
 (0)