Permalink
Browse files

Document #header method

  • Loading branch information...
1 parent fc472aa commit f99115564ddfab6212ee3020cff98081f989c1c7 @jferris jferris committed Nov 9, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.md
View
@@ -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
------------

0 comments on commit f991155

Please sign in to comment.