A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://seleniumhq.github.io/selenium/docs/api/rb/Selenium/WebDriver/Interactions/PointerCancel.html below:

PointerCancel — Documentation by YARD 0.9.37

Class: Selenium::WebDriver::Interactions::PointerCancel Private
Inherits:
Interaction show all
Defined in:
rb/lib/selenium/webdriver/common/interactions/pointer_cancel.rb
Overview

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

Action to cancel any other Pointer Action.

Instance Attribute Summary Attributes inherited from Interaction

#type

Instance Method Summary collapse Constructor Details #initialize(source) ⇒ PointerCancel

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.

Returns a new instance of PointerCancel.

30
31
32
33
# 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) ⇒ Object

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.

35
36
37
# 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 ⇒ Object

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.

39
40
41
# File 'rb/lib/selenium/webdriver/common/interactions/pointer_cancel.rb', line 39

def encode
  {type: type}
end

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4