class Selenium::WebDriver::Interactions::PointerMove

def encode

def encode
  output = {type: type, duration: @duration.to_i, x: @x_offset, y: @y_offset}
  output[:origin] = @origin
  output
end