christopherbloom.com
Testing for a redirect using Capybara and Selenium WebDriver
I just spent the better part of 8 hours trying to figure out how to do this. The Selenium WebDriver API docs are pretty bewildering especially when it comes to trying to interact with the HTTP resp…