123456789_123456789_123456789_123456789_123456789_

Module: Selenium::WebDriver::Interactions

Constant Summary

Class Method Summary

Class Method Details

.key(name = nil)

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/common/interactions/interactions.rb', line 33

def key(name = nil)
  KeyInput.new(name)
end

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

  
# File 'rb/lib/selenium/webdriver/common/interactions/interactions.rb', line 53

def none(name = nil)
  NoneInput.new(name)
end

.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