Method: Capybara::Session#response_headers
- Defined in:
- lib/capybara/session.rb
#response_headers ⇒ Hash<String, String>
Returns a hash of response headers. Not supported by all drivers (e.g. Selenium).
179 180 181 |
# File 'lib/capybara/session.rb', line 179 def response_headers driver.response_headers end |