HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/anaconda3/Lib/site-packages/typings/selenium/webdriver/common/action_chains.pyi
from __future__ import annotations

# External imports
from ..remote.webdriver import WebDriver
from ..remote.webelement import WebElement
from .keys import _KeySeq

class ActionChains:
    def __init__(self, driver: WebDriver) -> None: ...
    def perform(self) -> None: ...
    def reset_actions(self) -> None: ...
    def click(self, on_element: WebElement | None = ...) -> ActionChains: ...
    def click_and_hold(self, on_element: WebElement | None = ...) -> ActionChains: ...
    def context_click(self, on_element: WebElement | None = ...) -> ActionChains: ...
    def double_click(self, on_element: WebElement | None = ...) -> ActionChains: ...
    def drag_and_drop(self, source: WebElement, target: WebElement) -> ActionChains: ...
    def drag_and_drop_by_offset(self, source: WebElement, xoffset: float, yoffset: float) -> ActionChains: ...
    def key_down(self, value: _KeySeq, element: WebElement | None = ...) -> ActionChains: ...
    def key_up(self, value: _KeySeq, element: WebElement | None = ...) -> ActionChains: ...
    def move_by_offset(self, xoffset: float, yoffset: float) -> ActionChains: ...
    def move_to_element(self, to_element: WebElement) -> ActionChains: ...
    def move_to_element_with_offset(self, to_element: WebElement, xoffset: float, yoffset: float) -> ActionChains: ...
    def pause(self, seconds: int) -> ActionChains: ...
    def release(self, on_element: WebElement | None = ...) -> ActionChains: ...
    def send_keys(self, *keys_to_send: _KeySeq) -> ActionChains: ...
    def send_keys_to_element(self, element: WebElement, *keys_to_send: _KeySeq) -> ActionChains: ...