class Selenium::WebDriver::Interactions::PointerCancel
Action to cancel any other Pointer Action.
@api private
Public Class Methods
Source
# File lib/selenium/webdriver/common/interactions/pointer_cancel.rb, line 30 def initialize(source) super @type = :pointerCancel end
Calls superclass method
Selenium::WebDriver::Interactions::Interaction::new
Public Instance Methods
Source
# File lib/selenium/webdriver/common/interactions/pointer_cancel.rb, line 35 def assert_source(source) raise TypeError, "#{source.type} is not a valid input type" unless source.is_a? PointerInput end
Source
# File lib/selenium/webdriver/common/interactions/pointer_cancel.rb, line 39 def encode {type: type} end