class Selenium::WebDriver::Interactions::WheelInput
Creates actions specific to Pointer Input devices
@api private
Public Class Methods
Source
# File lib/selenium/webdriver/common/interactions/wheel_input.rb, line 30 def initialize(name = nil) super @type = Interactions::WHEEL end
Calls superclass method
Selenium::WebDriver::Interactions::InputDevice::new
Public Instance Methods
Source
# File lib/selenium/webdriver/common/interactions/wheel_input.rb, line 35 def create_scroll(**opts) opts[:source] = self add_action(Scroll.new(**opts)) end