code: def wait_until_first_element_is_found(self, elements, timeout=None):
          
          try:
              return self._wait_until(self._expected_condition_find_first_element, elements, timeout)
          except TimeoutException as exception:
              msg = 'None of the page elements has been found after %s seconds'
              timeout = timeout if timeout else self.get_explicitly_wait()
              self.logger.error(msg, timeout)
              exception.msg += "\n  {}".format(msg % timeout)
              raise exception
docs: Search list of elements and wait until one of them is found
  
          :param elements: list of PageElements or element locators as a tuple (locator_type, locator_value) to be found
                           sequentially
          :param timeout: max time to wait
          :returns: first element found
          :rtype: toolium.pageelements.PageElement or tuple
          :raises TimeoutException: If no element in the list is found after the timeout