selenium.webdriver.common.actions.pointer_actions

Classes

PointerActions([source, duration])

Args: - source: PointerInput instance - duration: override the default 250 msecs of DEFAULT_MOVE_DURATION in source

class selenium.webdriver.common.actions.pointer_actions.PointerActions(source: PointerInput | None = None, duration: int = 250)[source]

Args: - source: PointerInput instance - duration: override the default 250 msecs of DEFAULT_MOVE_DURATION in source

pointer_down(button=0, width=None, height=None, pressure=None, tangential_pressure=None, tilt_x=None, tilt_y=None, twist=None, altitude_angle=None, azimuth_angle=None)[source]
pointer_up(button=0)[source]
move_to(element, x=0, y=0, width=None, height=None, pressure=None, tangential_pressure=None, tilt_x=None, tilt_y=None, twist=None, altitude_angle=None, azimuth_angle=None)[source]
move_by(x, y, width=None, height=None, pressure=None, tangential_pressure=None, tilt_x=None, tilt_y=None, twist=None, altitude_angle=None, azimuth_angle=None)[source]
move_to_location(x, y, width=None, height=None, pressure=None, tangential_pressure=None, tilt_x=None, tilt_y=None, twist=None, altitude_angle=None, azimuth_angle=None)[source]
click(element: WebElement | None = None, button=0)[source]
context_click(element: WebElement | None = None)[source]
click_and_hold(element: WebElement | None = None, button=0)[source]
release(button=0)[source]
double_click(element: WebElement | None = None)[source]
pause(duration: float = 0)[source]
PAUSE = 'pause'