Skip to content
 
Selenium 4.31.0 documentation selenium.webdriver.common.actions.key_actions
Type to start searching
    • Selenium 4.31.0 documentation
    • selenium.webdriver.common.actions.key_actions
      • KeyActions
        • KeyActions.key_down()
        • KeyActions.key_up()
        • KeyActions.pause()
        • KeyActions.send_keys()
        • KeyActions.PAUSE
    • Show Source

    selenium.webdriver.common.actions.key_actions¶

    Classes

    KeyActions([source])

    class selenium.webdriver.common.actions.key_actions.KeyActions(source: KeyInput | PointerInput | WheelInput | None = None)[source]¶
    key_down(letter: str) → KeyActions[source]¶
    key_up(letter: str) → KeyActions[source]¶
    pause(duration: int = 0) → KeyActions[source]¶
    send_keys(text: str | list) → KeyActions[source]¶
    PAUSE = 'pause'¶
    © Copyright 2009-2025 Software Freedom Conservancy.