Method: Selenium::WebDriver::Interactions::PointerPress#encode

Defined in:
lib/selenium/webdriver/common/interactions/pointer_press.rb

#encodeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

[View source]

52
53
54
# File 'lib/selenium/webdriver/common/interactions/pointer_press.rb', line 52

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