code: def wait_until_element_stops(self, element, times=1000, timeout=None):
          
          return self._wait_until(self._expected_condition_find_element_stopped, (element, times), timeout)
docs: Search element and wait until it has stopped moving
  
          :param element: PageElement or element locator as a tuple (locator_type, locator_value) to be found
          :param times: number of iterations checking the element's location that must be the same for all of them
          in order to considering the element has stopped
          :returns: the web element if the element is stopped
          :rtype: selenium.webdriver.remote.webelement.WebElement or appium.webdriver.webelement.WebElement
          :raises TimeoutException: If the element does not stop after the timeout