(self, text)
| 2049 | self.loop.run_until_complete(self.page.sleep(0.025)) |
| 2050 | |
| 2051 | def gui_write(self, text): |
| 2052 | self.__install_pyautogui_if_missing() |
| 2053 | import pyautogui |
| 2054 | pyautogui = self.__get_configured_pyautogui(pyautogui) |
| 2055 | gui_lock = FileLock(constants.MultiBrowser.PYAUTOGUILOCK) |
| 2056 | with gui_lock: |
| 2057 | self.__make_sure_pyautogui_lock_is_writable() |
| 2058 | pyautogui.write(text) |
| 2059 | self.__slow_mode_pause_if_set() |
| 2060 | self.loop.run_until_complete(self.page.sleep(0.025)) |
| 2061 | |
| 2062 | def __gui_click_x_y(self, x, y, timeframe=0.27, uc_lock=False): |
| 2063 | self.__install_pyautogui_if_missing() |
nothing calls this directly
no test coverage detected