Class: Selenium::WebDriver::Interactions::NoneInput Private

Inherits:
InputDevice
  • Object
show all
Defined in:
lib/selenium/webdriver/common/interactions/none_input.rb

Overview

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.

Creates actions specific to null input source This is primarily used for adding pauses

Instance Attribute Summary

Attributes inherited from InputDevice

#actions, #name, #type

Instance Method Summary collapse

Methods inherited from InputDevice

#add_action, #clear_actions, #create_pause, #encode

Constructor Details

#initialize(name = nil) ⇒ NoneInput

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 NoneInput.



31
32
33
34
# File 'lib/selenium/webdriver/common/interactions/none_input.rb', line 31

def initialize(name = nil)
  super
  @type = Interactions::NONE
end