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: Optional[selenium.webdriver.common.actions.pointer_input.PointerInput] = None, duration: int = 250)[source]

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

PAUSE = 'pause'
click(element: Optional[selenium.webdriver.remote.webelement.WebElement] = None, button=0)[source]
click_and_hold(element: Optional[selenium.webdriver.remote.webelement.WebElement] = None, button=0)[source]
context_click(element: Optional[selenium.webdriver.remote.webelement.WebElement] = None)[source]
double_click(element: Optional[selenium.webdriver.remote.webelement.WebElement] = 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(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_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]
pause(duration: float = 0)[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]
release(button=0)[source]