code: def wait_until_title_contains(self, partial_title, timeout=None):
          
          timeout = timeout if timeout is not None else self.timeout
  
          def wait():
              '''
              Wait function passed to executor
              '''
              return WebDriverWait(self.driver, timeout).until(EC.title_contains(partial_title))
  
          return self.execute_and_handle_webdriver_exceptions(
              wait, timeout, partial_title, 'Timeout waiting for title to contain: ' + str(partial_title))
docs: Waits for title to contain <partial_title>
  
          @type partial_title:    str
          @param partial_title:   the partial title to locate
          @type timeout:          int
          @param timeout:         the maximum number of seconds the driver will wait before timing out
  
          @rtype:                 webdriverwrapper.WebElementWrapper
          @return:                Returns the element found