Skip to content

Commit

Permalink
fix: Update ChelmsfordCityCouncil.py
Browse files Browse the repository at this point in the history
  • Loading branch information
robbrad authored Jan 5, 2024
1 parent 35b1679 commit 1091f0d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ def parse_data(self, page: str, **kwargs) -> dict:
postcode = kwargs.get("postcode")
user_paon = kwargs.get("paon")
web_driver = kwargs.get("web_driver")
url = kwargs.get("url")
driver = create_webdriver(web_driver)

driver.executeScript(f"window.location.href='{kwargs.get("url")}'")
driver.executeScript(f"window.location.href='{url}'")

wait = WebDriverWait(driver, 120)
post_code_search = wait.until(
Expand Down

0 comments on commit 1091f0d

Please sign in to comment.