diff --git a/src/AppiumLibrary/keywords/_touch.py b/src/AppiumLibrary/keywords/_touch.py index 77c52263..db579234 100644 --- a/src/AppiumLibrary/keywords/_touch.py +++ b/src/AppiumLibrary/keywords/_touch.py @@ -50,4 +50,11 @@ def long_press(self, locator): driver = self._current_application() element = self._element_find(locator, True, True) long_press = TouchAction(driver).long_press(element) - long_press.perform() \ No newline at end of file + long_press.perform() + + def tap(self, locator): + """ Tap on element """ + driver = self._current_application() + el = self._element_find(locator, True, True) + action = TouchAction(driver) + action.tap(el).perform()