code: def scroll_up(self, locator):
          
          driver = self._current_application()
          element = self._element_find(locator, True, True)
          driver.execute_script("mobile: scroll", {"direction": 'up', 'element': element.id})
docs: Scrolls up to element