os.system("taskkill /f /im chromedriver.exe >nul 2>&1") os.system("taskkill /f /im chrome.exe >nul 2>&1")