This commit is contained in:
lda
2026-05-13 22:03:55 +07:00 Verified
parent cf57fcadd3
commit 45f684ab21
+5 -2
View File
@@ -77,7 +77,10 @@ def main():
timeout=LOGIN_TIMEOUT_MS,
)
print_and_notif("Browser closed. Please rerun the script.", title="Browser Closed")
print_and_notif(
"Browser closed. Please rerun the script.",
title="Browser Closed",
)
except PlaywrightTimeoutError:
print_and_notif(
@@ -117,7 +120,7 @@ def main():
try:
context.close()
except PlaywrightError: # ignore if already closed
except PlaywrightError: # ignore if already closed
pass