This commit is contained in:
R5600U_PC 2024-09-24 23:54:24 +09:00
parent 77d08b11e8
commit 327f1b627c
4 changed files with 6 additions and 2 deletions

View File

@ -16673,3 +16673,6 @@ waiting for locator("div.ant-tabs-tab:has-text(\"상세페이지\")")
2024-09-24 23:35:00,256 - base64_to_image.py:121 - default_logger - DEBUG - 클립보드에 Base64 이미지나 'html > whale-ocr' 데이터가 없습니다.
2024-09-24 23:35:00,461 - browser_control.py:331 - default_logger - DEBUG - 이미지 붙여넣기 완료.
2024-09-24 23:35:00,463 - whale_translator.py:96 - default_logger - DEBUG - 가상 데스크톱 전환 중 오류 발생: Desktop number 2 exceeds the number of desktops, 1.
2024-09-24 23:52:17,226 - whale_translator.py:78 - default_logger - DEBUG - 가상 데스크톱 2가 생성되었습니다.
2024-09-24 23:52:23,161 - whale_translator.py:102 - default_logger - DEBUG - 가상 데스크톱 1로 전환되었습니다.
2024-09-24 23:52:24,511 - gui.py:35 - default_logger - DEBUG - QTextEditLogger가 설정되었습니다.

View File

@ -116,6 +116,7 @@ class WhaleTranslator:
pyautogui.hotkey('ctrl', 'l') # 웨일 브라우저의 주소창으로 이동
self.enter_url(url)
time.sleep(1) # page Loading
pyautogui.rightClick()
time.sleep(0.2) # 컨텍스트 메뉴 대기
@ -125,7 +126,7 @@ class WhaleTranslator:
pyautogui.rightClick()
time.sleep(0.2) # 컨텍스트 메뉴 대기
pyautogui.press('r') # 번역 클릭
time.sleep(5) # 번역 완료 대기
time.sleep(7) # 번역 완료 대기
pyautogui.rightClick()
time.sleep(0.2) # 컨텍스트 메뉴 대기
@ -178,7 +179,7 @@ class WhaleTranslator:
pyautogui.hotkey('ctrl', 'l') # 주소창으로 이동
time.sleep(0.5)
pyautogui.typewrite(url) # URL 입력
pyautogui.press('enter') # Enter 키 입력
pyautogui.press('enter',) # Enter 키 입력
time.sleep(1) # 페이지 로딩 대기