Class: Selenium::WebDriver::BiDi::Cookies
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Hash
|
|
|
Instance Chain:
self,
Hash
|
|
| Inherits: |
Hash
|
| Defined in: | rb/lib/selenium/webdriver/bidi/network/cookies.rb |
Instance Method Summary
Instance Method Details
#as_json
[ GitHub ]# File 'rb/lib/selenium/webdriver/bidi/network/cookies.rb', line 24
def as_json map do |name, val| self[:name] = name.to_s self[:value] = {type: 'string', value: val.to_s} [compact] end end