selenium.webdriver.common.actions.action_builder

Classes

ActionBuilder(driver[, mouse, wheel, ...])

class selenium.webdriver.common.actions.action_builder.ActionBuilder(driver, mouse: PointerInput | None = None, wheel: WheelInput | None = None, keyboard: KeyInput | None = None, duration: int = 250)[source]
get_device_with(name: str) WheelInput | PointerInput | KeyInput | None[source]
property pointer_inputs: List[PointerInput]
property key_inputs: List[KeyInput]
property key_action: KeyActions
property pointer_action: PointerActions
property wheel_action: WheelActions
add_key_input(name: str) KeyInput[source]
add_pointer_input(kind: str, name: str) PointerInput[source]
add_wheel_input(name: str) WheelInput[source]
perform() None[source]
clear_actions() None[source]

Clears actions that are already stored on the remote end.