Class: Selenium::WebDriver::BiDi::InterceptedResponse
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
InterceptedItem
|
|
Instance Chain:
self,
InterceptedItem
|
|
Inherits: |
Selenium::WebDriver::BiDi::InterceptedItem
|
Defined in: | rb/lib/selenium/webdriver/bidi/network/intercepted_response.rb |
Class Method Summary
Instance Attribute Summary
Instance Method Summary
InterceptedItem
- Inherited
Constructor Details
.new(network, request) ⇒ InterceptedResponse
# File 'rb/lib/selenium/webdriver/bidi/network/intercepted_response.rb', line 30
def initialize(network, request) super @reason = nil end
Instance Attribute Details
#reason (rw)
[ GitHub ]# File 'rb/lib/selenium/webdriver/bidi/network/intercepted_response.rb', line 28
attr_accessor :reason
Instance Method Details
#continue
[ GitHub ]# File 'rb/lib/selenium/webdriver/bidi/network/intercepted_response.rb', line 35
def continue network.continue_response( id: id, cookies: .as_json, headers: headers.as_json, credentials: credentials.as_json, reason: reason ) end
#cookies(cookies = {})
[ GitHub ]#credentials(username: nil, password: nil)
[ GitHub ]# File 'rb/lib/selenium/webdriver/bidi/network/intercepted_response.rb', line 45
def credentials(username: nil, password: nil) @credentials ||= Credentials.new(username: username, password: password) end