class Selenium::WebDriver::Interactions::PointerInput
def assert_kind(pointer)
def assert_kind(pointer) raise TypeError, "#{pointer.inspect} is not a valid pointer type" unless KIND.key? pointer KIND[pointer] end
def create_pointer_cancel
def create_pointer_cancel add_action(PointerCancel.new(self)) end
def create_pointer_down(button, **)
def create_pointer_down(button, **) add_action(PointerPress.new(self, :down, button, **)) end
def create_pointer_move(duration: 0, x: 0, y: 0, origin: nil, **)
def create_pointer_move(duration: 0, x: 0, y: 0, origin: nil, **) add_action(PointerMove.new(self, duration, x, y, origin: origin, **)) end
def create_pointer_up(button, **)
def create_pointer_up(button, **) add_action(PointerPress.new(self, :up, button, **)) end
def encode
def encode output = super output[:parameters] = {pointerType: kind} if output output end
def initialize(kind, name: nil)
def initialize(kind, name: nil) super(name) @kind = assert_kind(kind) @type = Interactions::POINTER end