From 63770e8cba8c1d9d4bb3324b621bc96b037d242f Mon Sep 17 00:00:00 2001 From: kkb912002 <57607392+kkb912002@users.noreply.github.com> Date: Thu, 14 Dec 2023 16:21:43 +0900 Subject: [PATCH] fix: typo in ActionHelpers (#937) touc -> touch --- appium/webdriver/extensions/action_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appium/webdriver/extensions/action_helpers.py b/appium/webdriver/extensions/action_helpers.py index 6a458b39..191a546d 100644 --- a/appium/webdriver/extensions/action_helpers.py +++ b/appium/webdriver/extensions/action_helpers.py @@ -96,7 +96,7 @@ def tap(self, positions: List[Tuple[int, int]], duration: Optional[int] = None) """ if len(positions) == 1: actions = ActionChains(self) - actions.w3c_actions = ActionBuilder(self, mouse=PointerInput(interaction.POINTER_TOUCH, 'touc')) + actions.w3c_actions = ActionBuilder(self, mouse=PointerInput(interaction.POINTER_TOUCH, 'touch')) x = positions[0][0] y = positions[0][1] actions.w3c_actions.pointer_action.move_to_location(x, y)