Class: Selenium::WebDriver::BiDi::InterceptedItem Private
- Inherits:
-
Object
- Object
- Selenium::WebDriver::BiDi::InterceptedItem
- Defined in:
- lib/selenium/webdriver/bidi/network/intercepted_item.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Direct Known Subclasses
Instance Attribute Summary collapse
- #network ⇒ Object readonly private
- #request ⇒ Object readonly private
Instance Method Summary collapse
- #id ⇒ Object private
-
#initialize(network, request) ⇒ InterceptedItem
constructor
private
A new instance of InterceptedItem.
Constructor Details
#initialize(network, request) ⇒ InterceptedItem
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 InterceptedItem.
30 31 32 33 |
# File 'lib/selenium/webdriver/bidi/network/intercepted_item.rb', line 30 def initialize(network, request) @network = network @request = request end |
Instance Attribute Details
#network ⇒ Object (readonly)
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.
28 29 30 |
# File 'lib/selenium/webdriver/bidi/network/intercepted_item.rb', line 28 def network @network end |
#request ⇒ Object (readonly)
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.
28 29 30 |
# File 'lib/selenium/webdriver/bidi/network/intercepted_item.rb', line 28 def request @request end |
Instance Method Details
#id ⇒ Object
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.
35 36 37 |
# File 'lib/selenium/webdriver/bidi/network/intercepted_item.rb', line 35 def id @id ||= @request['request'] end |