C# Selenium WebDriver: Get HTTP Status Code -
i'm using selenium, c#, nunit write automated tests. is possible http status code webdriver tests fail due http requests can alerted user? not without external tool no. you see, has been brought number of times in past , 1 of largest "issues" within selenium's official issue tracker . particular issue has been bounced around , decided it's outside scope of selenium. this however, not mean not possible. thankfully, using c#, it's little easier may think. recently, 1 of selenium developers wrote blog post outlining exactly how in c# . 3 part blog post explain each step , uses external tool, called fiddler (which, way, 1 awesome tool). fiddler proxy , has c# api allows intercept requests. therefore means can "point" selenium use proxy, , hook fiddler's api check status code request has. i merely linking blog post rather giving code since it's pretty thoroughly explained in posts. perhaps try it, , come if issues impl...