def remove_cookie(domain, name)
      cm = @webclient.getCookieManager
      cookie = cm.getCookies.find { |c| c.getDomain == domain && c.getName == name }

      if cookie.nil?
        raise CookieNotFoundError, "no cookie with domain #{domain.inspect} and name #{name.inspect}"
      end

      cm.removeCookie(cookie)
    end
def remove_cookie(domain, name)
      cm = @webclient.getCookieManager
      cookie = cm.getCookies.find { |c| c.getDomain == domain && c.getName == name }

      if cookie.nil?
        raise CookieNotFoundError, "no cookie with domain #{domain.inspect} and name #{name.inspect}"
      end

      cm.removeCookie(cookie)
    end
Remove the cookie with the given domain and name (Celerity only)

 @param [String] domain
 @param [String] name

 @raise [CookieNotFoundError] if the cookie doesn't exist