module Selenium::WebDriver::PointerActions

def button_action(button, action: nil, device: nil)

def button_action(button, action: nil, device: nil)
  pointer = get_pointer(device)
  pointer.send(action, button)
  tick(pointer)
  self
end