From f99115564ddfab6212ee3020cff98081f989c1c7 Mon Sep 17 00:00:00 2001 From: Joe Ferris Date: Fri, 9 Nov 2012 13:29:32 -0500 Subject: [PATCH] Document #header method --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 0c5ae1a..be9c380 100644 --- a/README.md +++ b/README.md @@ -171,6 +171,10 @@ capybara-webkit supports a few methods that are not part of the standard capybar page.driver.console_messages.first[:message] => "42" +**header**: set the given HTTP header for subsequent requests + + page.driver.header 'Referer', 'https://www.thoughtbot.com' + Contributing ------------