Module: Selenium::WebDriver::Interactions
Constant Summary
-
KEY =
# File 'rb/lib/selenium/webdriver/common/interactions/interactions.rb', line 23:key
-
NONE =
# File 'rb/lib/selenium/webdriver/common/interactions/interactions.rb', line 25:none
-
POINTER =
# File 'rb/lib/selenium/webdriver/common/interactions/interactions.rb', line 24:pointer
-
WHEEL =
# File 'rb/lib/selenium/webdriver/common/interactions/interactions.rb', line 26:wheel
Class Method Summary
Class Method Details
.key(name = nil)
[ GitHub ].mouse(name: nil)
[ GitHub ]# File 'rb/lib/selenium/webdriver/common/interactions/interactions.rb', line 41
def mouse(name: nil) pointer(name: name) end
.none(name = nil)
[ GitHub ].pen(name: nil)
[ GitHub ]# 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)
[ GitHub ]# 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)
[ GitHub ]# File 'rb/lib/selenium/webdriver/common/interactions/interactions.rb', line 49
def touch(name: nil) pointer(:touch, name: name) end
.wheel(name = nil)
[ GitHub ]# File 'rb/lib/selenium/webdriver/common/interactions/interactions.rb', line 57
def wheel(name = nil) WheelInput.new(name) end