Class: Selenium::WebDriver::DevTools::MutationEvent
- Inherits:
-
Object
- Object
- Selenium::WebDriver::DevTools::MutationEvent
- Defined in:
- rb/lib/selenium/webdriver/devtools/mutation_event.rb
Instance Attribute Summary collapse
-
#attribute_name ⇒ Object
Returns the value of attribute attribute_name.
-
#current_value ⇒ Object
Returns the value of attribute current_value.
-
#element ⇒ Object
Returns the value of attribute element.
-
#old_value ⇒ Object
Returns the value of attribute old_value.
Instance Method Summary collapse
-
#initialize(element:, attribute_name:, current_value:, old_value:) ⇒ MutationEvent
constructor
A new instance of MutationEvent.
Constructor Details
#initialize(element:, attribute_name:, current_value:, old_value:) ⇒ MutationEvent
Returns a new instance of MutationEvent.
26 27 28 29 30 31 |
# File 'rb/lib/selenium/webdriver/devtools/mutation_event.rb', line 26 def initialize(element:, attribute_name:, current_value:, old_value:) @element = element @attribute_name = attribute_name @current_value = current_value @old_value = old_value end |
Instance Attribute Details
#attribute_name ⇒ Object
Returns the value of attribute attribute_name.
24 25 26 |
# File 'rb/lib/selenium/webdriver/devtools/mutation_event.rb', line 24 def attribute_name @attribute_name end |
#current_value ⇒ Object
Returns the value of attribute current_value.
24 25 26 |
# File 'rb/lib/selenium/webdriver/devtools/mutation_event.rb', line 24 def current_value @current_value end |
#element ⇒ Object
Returns the value of attribute element.
24 25 26 |
# File 'rb/lib/selenium/webdriver/devtools/mutation_event.rb', line 24 def element @element end |
#old_value ⇒ Object
Returns the value of attribute old_value.
24 25 26 |
# File 'rb/lib/selenium/webdriver/devtools/mutation_event.rb', line 24 def old_value @old_value end |