Method: Selenium::WebDriver::Interactions::KeyInput#initialize

Defined in:
lib/selenium/webdriver/common/interactions/key_input.rb

#initialize(name = nil) ⇒ KeyInput

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



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

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