From c29058dcaf31989345aa115ce3b082f7180d08ed Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 23 May 2022 17:42:52 +0200 Subject: [PATCH] remove from selenium --- changedetectionio/content_fetcher.py | 1 - 1 file changed, 1 deletion(-) diff --git a/changedetectionio/content_fetcher.py b/changedetectionio/content_fetcher.py index 5b959259..5ac95927 100644 --- a/changedetectionio/content_fetcher.py +++ b/changedetectionio/content_fetcher.py @@ -374,7 +374,6 @@ class base_html_webdriver(Fetcher): self.driver.set_window_size(1280, 1024) self.driver.implicitly_wait(int(os.getenv("WEBDRIVER_DELAY_BEFORE_CONTENT_READY", 5))) - self.xpath_data = self.driver.execute_script("var css_filter='{}';".format(current_css_filter) + self.xpath_element_js) self.screenshot = self.driver.get_screenshot_as_png() # @todo - how to check this? is it possible?