From f04ec0eee706f71d58e88d587aad28e4433ace14 Mon Sep 17 00:00:00 2001 From: break27 Date: Fri, 22 Aug 2025 11:34:40 +0800 Subject: [PATCH] update: revert last commit --- 邮件批量发送.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/邮件批量发送.py b/邮件批量发送.py index e029fcc..ed4ada0 100644 --- a/邮件批量发送.py +++ b/邮件批量发送.py @@ -363,7 +363,7 @@ def main(driver: WebDriver): while mails := driver.find_elements(By.CSS_SELECTOR, "div.io-ox-mail-compose-window"): try: click("button[data-action='close']", parent=mails[0]) - click("div.modal-footer button[data-action='savedraft']") + click("div.modal-footer button[data-action='delete']") except Exception as e: print(f"[警告] 关闭邮件时发生了错误:{e}") break