Class: Selenium::WebDriver::DevTools::MutationEvent
- Inherits:
-
Object
- Object
- Selenium::WebDriver::DevTools::MutationEvent
- Defined in:
- 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.
27 28 29 30 31 32 |
# File 'lib/selenium/webdriver/devtools/mutation_event.rb', line 27 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.
25 26 27 |
# File 'lib/selenium/webdriver/devtools/mutation_event.rb', line 25 def attribute_name @attribute_name end |
#current_value ⇒ Object
Returns the value of attribute current_value.
25 26 27 |
# File 'lib/selenium/webdriver/devtools/mutation_event.rb', line 25 def current_value @current_value end |
#element ⇒ Object
Returns the value of attribute element.
25 26 27 |
# File 'lib/selenium/webdriver/devtools/mutation_event.rb', line 25 def element @element end |
#old_value ⇒ Object
Returns the value of attribute old_value.
25 26 27 |
# File 'lib/selenium/webdriver/devtools/mutation_event.rb', line 25 def old_value @old_value end |