Method: Selenium::WebDriver::BiDi::InterceptedRequest#initialize

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

#initialize(network, request) ⇒ InterceptedRequest

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 InterceptedRequest.



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

def initialize(network, request)
  super
  @method = nil
  @url = nil
  @body = nil
  @headers = nil
  @cookies = nil
end