code: def until_not(self, method, message=''):
          
          end_time = time.time() + self._timeout
          while True:
              try:
                  value = method(self._driver)
                  if not value:
                      return value
              except self._ignored_exceptions:
                  return True
              time.sleep(self._poll)
              if time.time() > end_time:
                  break
          raise TimeoutException(message)
docs: Calls the method provided with the driver as an argument until the \
          return value evaluates to ``False``.
  
          :param method: callable(WebDriver)
          :param message: optional message for :exc:`TimeoutException`
          :returns: the result of the last call to `method`, or
                    ``True`` if `method` has raised one of the ignored exceptions
          :raises: :exc:`selenium.common.exceptions.TimeoutException` if timeout occurs