{"name":"gist: 880973","desc":"Set custom headers using Capybara-Mechanize","actor":"mcrmfc","url":"https://gist.github.com/880973","snippet":"When /^I go to google$/ do\n  p page.driver.agent.request_headers = {'Accept-Language' => 'en-gb'} \n  visit('http://localhost:7001')","actor_gravatar":"8f4cc8f6170d8aaf8ee819ee567b5f59","action":"create"}