code: def long_press(self, locator, duration=1000):
          
          driver = self._current_application()
          element = self._element_find(locator, True, True)
          action = TouchAction(driver)
          action.press(element).wait(duration).release().perform()
docs: Long press the element with optional duration