I have a python script that scraps data off from a website on an hourly basis. It is stored on the server at the moment and is working well as I am using task scheduler to sched
For Python and chromedriver I've found these two methods useful (mind the difference):
driver.close() - closes the browser active window.
driver.close()
driver.quit() - closes all browser windows and ends driver's session/process.
driver.quit()