public static FlowAssertion IsStatusNotOK(this ScriptFlow flow, IBrowsingResponse response) { var message = String.Format("Response from '{0}' not ok ({1})", response.ResponseUrl, response.StatusCode); return(flow.IsStatusOK(response).Otherwise().Warn(message)); }