HTTP Headers


Ask a Question
Back to All

HTTP Headers


Is there a way to detect the header response, when the form is submitted?

For example


   .Field(x => x.Email)
            .SetValueTo("[email protected]")
   .Field(x => x.Password)

At this point, if the response is HTTP 500, the testing goes on. "When" does not fail. Is there a way to assert that the response must be HTTP 200?