123456789_123456789_123456789_123456789_123456789_

Class: Selenium::WebDriver::Interactions::WheelInput Private

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, InputDevice
Instance Chain:
self, InputDevice
Inherits: Selenium::WebDriver::Interactions::InputDevice
Defined in: rb/lib/selenium/webdriver/common/interactions/wheel_input.rb

Overview

Creates actions specific to Pointer Input devices

Class Method Summary

InputDevice - Inherited

Instance Attribute Summary

Instance Method Summary

Constructor Details

.new(name = nil) ⇒ WheelInput

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/common/interactions/wheel_input.rb', line 30

def initialize(name = nil)
  super(name)
  @type = Interactions::WHEEL
end

Instance Method Details

#create_scroll(**opts)

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/common/interactions/wheel_input.rb', line 35

def create_scroll(**opts)
  opts[:source] = self
  add_action(Scroll.new(**opts))
end