Skip to content

Commit

Permalink
fix: Staffordshire Moorlands District Council
Browse files Browse the repository at this point in the history
  • Loading branch information
m26dvd committed Jan 8, 2025
1 parent 83dfb8a commit cacf3de
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ def parse_data(self, page: str, **kwargs) -> dict:
driver.get("https://www.staffsmoorlands.gov.uk/findyourbinday")

# Close cookies banner
cookieAccept = WebDriverWait(driver, 10).until(
EC.presence_of_element_located(
(By.CSS_SELECTOR, ".cookiemessage__link--close")
)
)
cookieAccept.click()
# cookieAccept = WebDriverWait(driver, 10).until(
# EC.presence_of_element_located(
# (By.CSS_SELECTOR, ".cookiemessage__link--close")
# )
# )
# cookieAccept.click()

# Wait for the postcode field to appear then populate it
inputElement_postcode = WebDriverWait(driver, 30).until(
Expand Down

0 comments on commit cacf3de

Please sign in to comment.