Skip to content

Commit

Permalink
Merge pull request #125 from minhnguyenphuonghoang/patch-2
Browse files Browse the repository at this point in the history
Update swipe
  • Loading branch information
serhatbolsu authored Aug 26, 2016
2 parents 88577d5 + bb846c4 commit cc6a36f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AppiumLibrary/keywords/_touch.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def swipe(self, start_x, start_y, offset_x, offset_y, duration=1000):
Swipe ${100} ${100} ${300} ${0}
"""
driver = self._current_application()
driver.swipe(start_x, start_y, end_x, end_y, duration)
driver.swipe(start_x, start_y, offset_x, offset_y, duration)

def scroll(self, start_locator, end_locator):
"""
Expand Down

0 comments on commit cc6a36f

Please sign in to comment.