class Selenium::WebDriver::Interactions::WheelInput

Creates actions specific to Pointer Input devices

@api private

Public Class Methods

new(name = nil) click to toggle source
# File lib/selenium/webdriver/common/interactions/wheel_input.rb, line 30
def initialize(name = nil)
  super(name)
  @type = Interactions::WHEEL
end

Public Instance Methods

create_scroll(**opts) click to toggle 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