I am using Selenium with C# and I was wondering if there is anyway in the test to handle the response status code. I need to check for Status Code 500 Internal Server Error.
I CAN match the displayed text but I do not want to do that as it can break in the future.