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.
Actions related to clicking, tapping or pressing the pointer.
Constant Summary collapseThis constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
{left: 0, touch: 0, pen_contact: 0, middle: 1, right: 2, pen_barrel: 2, x1: 3, back: 3, x2: 4, forward: 4}.freeze
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
{down: :pointerDown, up: :pointerUp}.freeze
Selenium::WebDriver::Interactions::PointerEventProperties::VALID
Instance Attribute Summary Attributes inherited from Interaction Instance Method Summary collapseA new instance of PointerPress.
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 PointerPress.
44 45 46 47 48 49 50
# File 'rb/lib/selenium/webdriver/common/interactions/pointer_press.rb', line 44 def initialize(source, direction, button, **opts) super(source) @direction = assert_direction(direction) @button = assert_button(button) @type = @direction @opts = opts endInstance Method Details #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.
52 53 54
# File 'rb/lib/selenium/webdriver/common/interactions/pointer_press.rb', line 52 def encode process_opts.merge('type' => type.to_s, 'button' => @button) 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