Module: Selenium::WebDriver::Interactions
- Defined in:
- lib/selenium/webdriver/common/interactions/key_input.rb,
lib/selenium/webdriver/common/interactions/none_input.rb,
lib/selenium/webdriver/common/interactions/interaction.rb,
lib/selenium/webdriver/common/interactions/input_device.rb,
lib/selenium/webdriver/common/interactions/interactions.rb,
lib/selenium/webdriver/common/interactions/pointer_input.rb
Defined Under Namespace
Classes: InputDevice, Interaction, KeyInput, NoneInput, Pause, PointerCancel, PointerInput, PointerMove, PointerPress
Constant Summary
collapse
- KEY =
:key
- POINTER =
:pointer
- NONE =
:none
- SOURCE_TYPES =
[KEY, POINTER, NONE].freeze
Class Method Summary
collapse
Class Method Details
.key(name) ⇒ Object
27
28
29
|
# File 'lib/selenium/webdriver/common/interactions/interactions.rb', line 27
def key(name)
KeyInput.new(name)
end
|
.none(name = nil) ⇒ Object
35
36
37
|
# File 'lib/selenium/webdriver/common/interactions/interactions.rb', line 35
def none(name = nil)
NoneInput.new(name)
end
|
.pointer(kind, **kwargs) ⇒ Object
31
32
33
|
# File 'lib/selenium/webdriver/common/interactions/interactions.rb', line 31
def pointer(kind, **kwargs)
PointerInput.new(kind, **kwargs)
end
|