Skip to content

Commit cc6a36f

Browse files
authored
Merge pull request #125 from minhnguyenphuonghoang/patch-2
Update swipe
2 parents 88577d5 + bb846c4 commit cc6a36f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AppiumLibrary/keywords/_touch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def swipe(self, start_x, start_y, offset_x, offset_y, duration=1000):
4242
Swipe ${100} ${100} ${300} ${0}
4343
"""
4444
driver = self._current_application()
45-
driver.swipe(start_x, start_y, end_x, end_y, duration)
45+
driver.swipe(start_x, start_y, offset_x, offset_y, duration)
4646

4747
def scroll(self, start_locator, end_locator):
4848
"""

0 commit comments

Comments
 (0)