From 7aaf878ced86135d084f110cb7873b3f296f102d Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Fri, 11 Aug 2023 08:54:36 +0100 Subject: [PATCH] Headless for production --- check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check.py b/check.py index 9653c7e..42a86a8 100755 --- a/check.py +++ b/check.py @@ -50,7 +50,7 @@ class HandleResponse: def run(playwright: Playwright) -> None: """Launch browser and search for options.""" - browser = playwright.chromium.launch(headless=False) + browser = playwright.chromium.launch(headless=True) context = browser.new_context() page = context.new_page()