# selenium.webdriver.common.actions.wheel_input

Classes

`ScrollOrigin`(origin, x_offset, y_offset) |
`WheelInput`(name) |

class selenium.webdriver.common.actions.wheel_input.ScrollOrigin(origin: str | WebElement, x_offset: int, y_offset: int)
  classmethod from_element(element: WebElement, x_offset: int = 0, y_offset: int = 0)
  classmethod from_viewport(x_offset: int = 0, y_offset: int = 0)
  property origin: str | WebElement
  property x_offset: int
  property y_offset: int

class selenium.webdriver.common.actions.wheel_input.WheelInput(name)
  encode() → dict
  create_scroll(x: int, y: int, delta_x: int, delta_y: int, duration: int, origin) → None
  create_pause(pause_duration: float) → None
  add_action(action: Any) → None
  clear_actions() → None