module Selenium::WebDriver::PointerActions

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

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