Skip to content

Commit

Permalink
fix: MultiAction.add() return
Browse files Browse the repository at this point in the history
closes #956
  • Loading branch information
mmonfared authored Feb 23, 2024
1 parent 1c6dcdf commit dd2195f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appium/webdriver/common/multi_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(self, driver: 'WebDriver', element: Optional['WebElement'] = None)
self._element = element
self._touch_actions: List['TouchAction'] = []

def add(self, *touch_actions: 'TouchAction') -> None:
def add(self, *touch_actions: 'TouchAction') -> 'MultiAction':
"""Add TouchAction objects to the MultiAction, to be performed later.
Args:
Expand Down

0 comments on commit dd2195f

Please sign in to comment.