I am running the flathunter script everyday for 14 hours and it opens a chromedriver instance on each execution
https://github.com/flathunters/flathunter/blob/main/flathunter/abstract_crawler.py#L48-L56
After a while, I have a lot of those processes open
If that is the case, new instaces of webdriver may fail because of "port already in use" error.
Is it possible to run the webdriver in python in such a way, that it closes the webdriver process when the flathunter.py is exiting (either manually or because of failure)?