Method: Selenium::WebDriver::Interactions::PointerInput#initialize
- Defined in:
- lib/selenium/webdriver/common/interactions/pointer_input.rb
#initialize(kind, name: nil) ⇒ PointerInput
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 PointerInput.
34 35 36 37 38 |
# File 'lib/selenium/webdriver/common/interactions/pointer_input.rb', line 34 def initialize(kind, name: nil) super(name) @kind = assert_kind(kind) @type = Interactions::POINTER end |