From ed73e39b696109a07761cde488a65db2bc207c5a Mon Sep 17 00:00:00 2001 From: hyeonggil <> Date: Fri, 27 Mar 2026 23:21:42 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=EB=A0=88=EC=9D=B4=EC=96=B4?= =?UTF-8?q?=20=EC=95=8C=EB=A6=BC=20=EC=B2=98=EB=A6=AC=20=EA=B8=B0=EB=8A=A5?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 구매 직전에 나타나는 레이어 알림을 감지하고 자동으로 닫는 기능 구현 - close_layer_alert_if_present 함수 추가하여 알림 처리 로직 포함 --- lotto-runner/lotto_auto_buy.py | 48 ++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/lotto-runner/lotto_auto_buy.py b/lotto-runner/lotto_auto_buy.py index b35c382..364e0e6 100644 --- a/lotto-runner/lotto_auto_buy.py +++ b/lotto-runner/lotto_auto_buy.py @@ -163,6 +163,50 @@ def buy_lotto(driver, game_count=5): try: wait = WebDriverWait(driver, 10) + def close_layer_alert_if_present(timeout_s: float = 1.5) -> bool: + """ +