Class: Selenium::WebDriver::Interactions::NoneInput
- Inherits:
-
InputDevice
- Object
- InputDevice
- Selenium::WebDriver::Interactions::NoneInput
- Defined in:
- lib/selenium/webdriver/common/interactions/none_input.rb
Instance Attribute Summary
Attributes inherited from InputDevice
Instance Method Summary collapse
Methods inherited from InputDevice
#add_action, #clear_actions, #create_pause, #initialize, #no_actions?
Constructor Details
This class inherits a constructor from Selenium::WebDriver::Interactions::InputDevice
Instance Method Details
#encode ⇒ Object
26 27 28 29 |
# File 'lib/selenium/webdriver/common/interactions/none_input.rb', line 26 def encode return nil if no_actions? {type: type, id: name, actions: @actions.map(&:encode)} end |
#type ⇒ Object
22 23 24 |
# File 'lib/selenium/webdriver/common/interactions/none_input.rb', line 22 def type Interactions::NONE end |