WebDriver does not have support for reading http response status codes

... but goutte does...