module Selenium::WebDriver::Interactions

def key(name = nil)

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

def mouse(name: nil)

def mouse(name: nil)
  pointer(name: name)
end

def none(name = nil)

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

def pen(name: nil)

def pen(name: nil)
  pointer(:pen, name: name)
end

def pointer(kind = :mouse, name: nil)

def pointer(kind = :mouse, name: nil)
  PointerInput.new(kind, name: name)
end

def touch(name: nil)

def touch(name: nil)
  pointer(:touch, name: name)
end

def wheel(name = nil)

def wheel(name = nil)
  WheelInput.new(name)
end