code: def wait_for_non_empty_text(self, locator, params=None, timeout=5):
          
          def _do_wait():
              elements = self.get_present_elements(locator, params, timeout=0)
              for element in elements:
                  if not self.get_text(element):
                      return False
              return elements
  
          return ActionWait(timeout).until(_do_wait, "Element text was never populated!")
docs: Wait and get elements when they're populated with any text.
  
          :param locator: locator tuple
          :param params: (optional) locator params
          :param timeout: (optional) maximum waiting time (in seconds) (default: 5)
          :return: list of WebElements