Class: Selenium::WebDriver::BiDi::InterceptedItem
- Inherits:
-
Object
- Object
- Selenium::WebDriver::BiDi::InterceptedItem
- Defined in:
- rb/lib/selenium/webdriver/bidi/network/intercepted_item.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#network ⇒ Object
readonly
Returns the value of attribute network.
-
#request ⇒ Object
readonly
Returns the value of attribute request.
Instance Method Summary collapse
- #id ⇒ Object
-
#initialize(network, request) ⇒ InterceptedItem
constructor
A new instance of InterceptedItem.
Constructor Details
#initialize(network, request) ⇒ InterceptedItem
Returns a new instance of InterceptedItem.
26 27 28 29 |
# File 'rb/lib/selenium/webdriver/bidi/network/intercepted_item.rb', line 26 def initialize(network, request) @network = network @request = request end |
Instance Attribute Details
#network ⇒ Object (readonly)
Returns the value of attribute network.
24 25 26 |
# File 'rb/lib/selenium/webdriver/bidi/network/intercepted_item.rb', line 24 def network @network end |
#request ⇒ Object (readonly)
Returns the value of attribute request.
24 25 26 |
# File 'rb/lib/selenium/webdriver/bidi/network/intercepted_item.rb', line 24 def request @request end |
Instance Method Details
#id ⇒ Object
[View source]
31 32 33 |
# File 'rb/lib/selenium/webdriver/bidi/network/intercepted_item.rb', line 31 def id @id ||= @request['request'] end |