Answer the question
In order to leave comments, you need to log in
Why doesn't chromium driver terminate process after browser is closed in Selenium?
I am using selenium and chromedriver.
The parser runs every 2 minutes. I initialize the browser on every launch
browser = webdriver.Chrome(chrome_options=chrome_options,
executable_path=webdriver_path)
browser.close()
Answer the question
In order to leave comments, you need to log in
try:
# do my automated tasks
except:
pass
finally:
driver.close()
driver.quit()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question