fix: 3s countdown before resolution, move mouse to corner first
This commit is contained in:
parent
24f8537d89
commit
3458275307
@ -115,7 +115,18 @@ def main() -> None:
|
||||
# (moderator and presenter are excluded — no need to look up their email)
|
||||
excluded = {window.moderator, window.presenter}
|
||||
to_resolve = [e for e in window.entries if e.display_name not in excluded]
|
||||
print(f"\nLöse {len(to_resolve)} E-Mail-Adresse(n) auf...")
|
||||
|
||||
if to_resolve:
|
||||
import sys as _sys
|
||||
for i in range(3, 0, -1):
|
||||
_sys.stdout.write(f"\r Maus aus Browser-Fenster bewegen! Starte in {i}s...")
|
||||
_sys.stdout.flush()
|
||||
import time as _time; _time.sleep(1)
|
||||
_sys.stdout.write("\r\033[K")
|
||||
# Move Playwright mouse to top-left corner before hovering
|
||||
page.mouse.move(0, 0)
|
||||
|
||||
print(f"Löse {len(to_resolve)} E-Mail-Adresse(n) auf...")
|
||||
resolved_entries = []
|
||||
for entry in window.entries:
|
||||
if entry.display_name in excluded:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user