Method: Selenium::WebDriver::BiDi::InterceptedResponse#initialize

Defined in:
lib/selenium/webdriver/bidi/network/intercepted_response.rb

#initialize(network, request) ⇒ InterceptedResponse

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of InterceptedResponse.



35
36
37
38
39
40
41
42
# File 'lib/selenium/webdriver/bidi/network/intercepted_response.rb', line 35

def initialize(network, request)
  super
  @reason = nil
  @status = nil
  @body = nil
  @headers = nil
  @cookies = nil
end