Added headless option which mysteriously disappeared
This commit is contained in:
parent
a82680a2a2
commit
dcaa4e3075
|
@ -73,6 +73,7 @@ def main() -> None:
|
|||
base_url = definitions.BASE_LINKS[district]
|
||||
|
||||
options = Options()
|
||||
options.headless = True
|
||||
binary = FirefoxBinary(firefox_binary)
|
||||
driver = webdriver.Firefox(firefox_binary=binary, options=options)
|
||||
driver.implicitly_wait(2)
|
||||
|
|
Loading…
Reference in New Issue