Added headless option which mysteriously disappeared

Este commit está contenido en:
Jim Martens 2020-06-05 17:21:17 +02:00
padre a82680a2a2
commit dcaa4e3075
Se han modificado 1 ficheros con 1 adiciones y 0 borrados

Ver fichero

@ -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)