123456789_123456789_123456789_123456789_123456789_

Class: Selenium::WebDriver::Interactions::Interaction Private

Do not use. This class is for internal use only.
Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
Inherits: Object
Defined in: rb/lib/selenium/webdriver/common/interactions/interaction.rb

Overview

Superclass for classes defining actions Do not initialize directly, only use subclass

Class Method Summary

Instance Attribute Summary

  • #type readonly Internal use only

Instance Method Summary

Constructor Details

.new(source) ⇒ Interaction

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/common/interactions/interaction.rb', line 33

def initialize(source)
  assert_source(source)
end

Instance Attribute Details

#type (readonly)

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/common/interactions/interaction.rb', line 31

attr_reader :type

Instance Method Details

#assert_source(_source)

Raises:

  • (NotImplementedError)
[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/common/interactions/interaction.rb', line 37

def assert_source(_source)
  raise NotImplementedError, 'subclass responsibility'
end