An example of retrieving HTTP status codes in WebDriver