Document #header method

This commit is contained in:
Joe Ferris 2012-11-09 13:29:32 -05:00
parent fc472aa275
commit f99115564d
1 changed files with 4 additions and 0 deletions

View File

@ -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
------------