Class: Selenium::WebDriver::Interactions::PointerCancel Private
Do not use. This class is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Interaction
|
|
Instance Chain:
self,
Interaction
|
|
Inherits: |
Selenium::WebDriver::Interactions::Interaction
|
Defined in: | rb/lib/selenium/webdriver/common/interactions/pointer_cancel.rb |
Overview
Action to cancel any other Pointer Action.
Class Method Summary
Instance Attribute Summary
Interaction
- Inherited
Instance Method Summary
- #assert_source(source) Internal use only
- #encode Internal use only
Interaction
- Inherited
Constructor Details
.new(source) ⇒ PointerCancel
# File 'rb/lib/selenium/webdriver/common/interactions/pointer_cancel.rb', line 30
def initialize(source) super @type = :pointerCancel end
Instance Method Details
#assert_source(source)
# File 'rb/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
#encode
[ GitHub ]# File 'rb/lib/selenium/webdriver/common/interactions/pointer_cancel.rb', line 39
def encode {type: type} end