From 4ac90301d5103c0ded1c8b04c3c0578811d9f052 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Wed, 17 Apr 2024 09:55:00 +0100 Subject: [PATCH] Backup should run headless --- backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup.py b/backup.py index 45fea0f..c1f7d35 100644 --- a/backup.py +++ b/backup.py @@ -68,7 +68,7 @@ def run_backup(page: Page) -> None: def run(playwright: Playwright) -> None: """Download export.""" - browser = playwright.chromium.launch(headless=False) + browser = playwright.chromium.launch(headless=True) auth_json = os.path.join(script_dir, "auth.json") context = browser.new_context(storage_state=auth_json) page = context.new_page()