From c46a397df17c1438c716a32e498b92cab712171c Mon Sep 17 00:00:00 2001 From: Andy Date: Wed, 2 Oct 2024 11:09:55 +0100 Subject: [PATCH] fix: High Peak have changed their cookie dialog Seems to be safe to ignore it now. --- .../uk_bin_collection/councils/HighPeakCouncil.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/uk_bin_collection/uk_bin_collection/councils/HighPeakCouncil.py b/uk_bin_collection/uk_bin_collection/councils/HighPeakCouncil.py index 2da5a7d8c2..c0dd931e4d 100644 --- a/uk_bin_collection/uk_bin_collection/councils/HighPeakCouncil.py +++ b/uk_bin_collection/uk_bin_collection/councils/HighPeakCouncil.py @@ -69,12 +69,6 @@ def parse_data(self, page: str, **kwargs) -> dict: driver = create_webdriver(web_driver, headless, None, __name__) driver.get(page) - # Hide Cookies - inputElement_hc = driver.find_element( - By.CLASS_NAME, "cookiemessage__link--close" - ) - inputElement_hc.click() - # Enter postcode in text box and wait inputElement_pc = driver.find_element( By.ID, "FINDBINDAYSHIGHPEAK_POSTCODESELECT_POSTCODE"