Update screenshot.rb

This should handle redirect error codes. Capybara will follow the redirect; the screenshot is correct in this given scenario.