# File lib/capybara/rack_test/browser.rb, line 29 def follow(method, path, attributes = {}) return if path.gsub(/^#{request_path}/, '').start_with?('#') process_and_follow_redirects(method, path, attributes, {'HTTP_REFERER' => current_url}) end