From 12fc2200de88873306cbb2c8df0676bd7e63b4c2 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Tue, 12 Jul 2022 22:32:20 +0200 Subject: [PATCH] remove extra file --- x | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 x diff --git a/x b/x deleted file mode 100644 index 0219e789..00000000 --- a/x +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/changedetectionio/content_fetcher.py b/changedetectionio/content_fetcher.py -index 331ef959..ca43edc8 100644 ---- a/changedetectionio/content_fetcher.py -+++ b/changedetectionio/content_fetcher.py -@@ -309,7 +309,10 @@ class base_html_playwright(Fetcher): - page.set_default_navigation_timeout(90000) - page.set_default_timeout(90000) - -- # Bug - never set viewport size BEFORE page.goto -+ # Listen for all console events and handle errors -+ page.on("console", lambda msg: print(f"Playwright console: Watch URL: {url} {msg.type}: {msg.text} {msg.args}")) -+ -+ # Bug - never set viewport size BEFORE page.goto - - # Waits for the next navigation. Using Python context manager - # prevents a race condition between clicking and waiting for a navigation.