class Selenium::WebDriver::Interactions::PointerPress

def encode

def encode
  process_opts.merge('type' => type.to_s, 'button' => @button)
end