123456789_123456789_123456789_123456789_123456789_

Class: Selenium::WebDriver::BiDi::Headers

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Hash
Instance Chain:
self, Hash
Inherits: Hash
  • Object
Defined in: rb/lib/selenium/webdriver/bidi/network/headers.rb

Instance Method Summary

Instance Method Details

#as_json

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/bidi/network/headers.rb', line 24

def as_json
  map do |name, val|
    {
      name: name.to_s,
      value: {
        type: 'string',
        value: val.to_s
      }
    }
  end
end