Updating to use capybara for visiting pages.