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)[source]
classmethod from_element(element: WebElement, x_offset: int = 0, y_offset: int = 0)[source]
classmethod from_viewport(x_offset: int = 0, y_offset: int = 0)[source]
property origin: str | WebElement
property x_offset: int
property y_offset: int
class selenium.webdriver.common.actions.wheel_input.WheelInput(name)[source]
encode() dict[source]
create_scroll(x: int, y: int, delta_x: int, delta_y: int, duration: int, origin) None[source]
create_pause(pause_duration: float) None[source]
add_action(action)
clear_actions()