selenium.webdriver.common.actions.key_actions

Classes

KeyActions(source, …)
class selenium.webdriver.common.actions.key_actions.KeyActions(source: selenium.webdriver.common.actions.key_input.KeyInput | selenium.webdriver.common.actions.pointer_input.PointerInput | selenium.webdriver.common.actions.wheel_input.WheelInput | None[selenium.webdriver.common.actions.key_input.KeyInput, selenium.webdriver.common.actions.pointer_input.PointerInput, selenium.webdriver.common.actions.wheel_input.WheelInput, None] = None)[source]
PAUSE = 'pause'
key_down(letter: str) → selenium.webdriver.common.actions.key_actions.KeyActions[source]
key_up(letter: str) → selenium.webdriver.common.actions.key_actions.KeyActions[source]
pause(duration: int = 0) → selenium.webdriver.common.actions.key_actions.KeyActions[source]
send_keys(text: str | list[str, list]) → selenium.webdriver.common.actions.key_actions.KeyActions[source]