Class: Capybara::Playwright::PageExtension::Headers
- Inherits:
-
Hash
- Object
- Hash
- Capybara::Playwright::PageExtension::Headers
- Defined in:
- lib/capybara/playwright/page.rb
Instance Method Summary collapse
Instance Method Details
#[](key) ⇒ Object
146 147 148 149 150 |
# File 'lib/capybara/playwright/page.rb', line 146 def [](key) # Playwright accepts lower-cased keys. # However allow users to specify "Content-Type" or "User-Agent". super(key.downcase) end |