MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / uc_gui_press_keys

Function uc_gui_press_keys

seleniumbase/core/browser_launcher.py:1193–1200  ·  view source on GitHub ↗
(driver, keys)

Source from the content-addressed store, hash-verified

1191
1192
1193def uc_gui_press_keys(driver, keys):
1194 install_pyautogui_if_missing(driver)
1195 import pyautogui
1196 pyautogui = get_configured_pyautogui(pyautogui)
1197 gui_lock = FileLock(constants.MultiBrowser.PYAUTOGUILOCK)
1198 with gui_lock:
1199 for key in keys:
1200 pyautogui.press(key)
1201
1202
1203def uc_gui_write(driver, text):

Callers 1

get_local_driverFunction · 0.85

Calls 2

get_configured_pyautoguiFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…