def wait_for_title(expected_title, timeout=settings.timeout_small)
    warn '[Deprecated] This method is deprecated, and will be removed in next version of Howitzer'
    end_time = ::Time.now + timeout
    until ::Time.now > end_time
      operator = expected_title.is_a?(Regexp) ? :=~ : :==