By roger.keays
via ninthavenue.com.au
Published: Nov 17 2012 / 03:55
One of the first things you'll notice when you start testing your web application with Selenium WebDriver is that there is no API to get the HTTP status code for a page. If you want to know why, you can go and read WebDriver issue #141. Personally I don't care why - I just want to test my HTTP reponse codes (especially 403 Permission Denied). Here is a fairly simple workaround.
Add your comment