def doubleTapOnView(self, view, touchActions=None, delayPerform=False): if view is not None: action = None if touchActions is None: action = TouchActions(self.driver) else: action = touchActions action.double_tap(view) if delayPerform == False: action.perform() return action return None
def double_tap_element(self, element: WebElement): actions = TouchActions(self.driver) actions.double_tap(element)