Module: Selenium::WebDriver::Interactions
- Defined in:
- rb/lib/selenium/webdriver/common/interactions/pause.rb,
rb/lib/selenium/webdriver/common/interactions/scroll.rb,
rb/lib/selenium/webdriver/common/interactions/key_input.rb,
rb/lib/selenium/webdriver/common/interactions/none_input.rb,
rb/lib/selenium/webdriver/common/interactions/interaction.rb,
rb/lib/selenium/webdriver/common/interactions/wheel_input.rb,
rb/lib/selenium/webdriver/common/interactions/input_device.rb,
rb/lib/selenium/webdriver/common/interactions/interactions.rb,
rb/lib/selenium/webdriver/common/interactions/pointer_move.rb,
rb/lib/selenium/webdriver/common/interactions/pointer_input.rb,
rb/lib/selenium/webdriver/common/interactions/pointer_press.rb,
rb/lib/selenium/webdriver/common/interactions/pointer_cancel.rb,
rb/lib/selenium/webdriver/common/interactions/typing_interaction.rb,
rb/lib/selenium/webdriver/common/interactions/pointer_event_properties.rb
Defined Under Namespace
Modules: PointerEventProperties
Classes: InputDevice, Interaction, KeyInput, NoneInput, Pause, PointerCancel, PointerInput, PointerMove, PointerPress, Scroll, TypingInteraction, WheelInput
Constant Summary
collapse
- KEY =
:key
- POINTER =
:pointer
- NONE =
:none
- WHEEL =
:wheel
Class Method Summary
collapse
Class Method Details
.key(name = nil) ⇒ Object
33
34
35
|
# File 'rb/lib/selenium/webdriver/common/interactions/interactions.rb', line 33
def key(name = nil)
KeyInput.new(name)
end
|
.mouse(name: nil) ⇒ Object
41
42
43
|
# File 'rb/lib/selenium/webdriver/common/interactions/interactions.rb', line 41
def mouse(name: nil)
pointer(name: name)
end
|
.none(name = nil) ⇒ Object
53
54
55
|
# File 'rb/lib/selenium/webdriver/common/interactions/interactions.rb', line 53
def none(name = nil)
NoneInput.new(name)
end
|
.pen(name: nil) ⇒ Object
45
46
47
|
# File 'rb/lib/selenium/webdriver/common/interactions/interactions.rb', line 45
def pen(name: nil)
pointer(:pen, name: name)
end
|
.pointer(kind = :mouse, name: nil) ⇒ Object
37
38
39
|
# File 'rb/lib/selenium/webdriver/common/interactions/interactions.rb', line 37
def pointer(kind = :mouse, name: nil)
PointerInput.new(kind, name: name)
end
|
.touch(name: nil) ⇒ Object
49
50
51
|
# File 'rb/lib/selenium/webdriver/common/interactions/interactions.rb', line 49
def touch(name: nil)
pointer(:touch, name: name)
end
|
.wheel(name = nil) ⇒ Object
57
58
59
|
# File 'rb/lib/selenium/webdriver/common/interactions/interactions.rb', line 57
def wheel(name = nil)
WheelInput.new(name)
end
|