# 关闭多余进程 try: os.system("taskkill /f /im chromedriver.exe /t") except: pass 解决chromedriver进程过多导致内存严重消耗问题