Method: Selenium::WebDriver::Interactions::PointerInput#encode
- Defined in:
- lib/selenium/webdriver/common/interactions/pointer_input.rb
#encode ⇒ Object
37 38 39 40 41 42 |
# File 'lib/selenium/webdriver/common/interactions/pointer_input.rb', line 37 def encode return nil if no_actions? output = {type: type, id: name, actions: @actions.map(&:encode)} output[:parameters] = {pointerType: kind} output end |