[唐胡璐]Selenium技巧- IEDriverServer在进程中没有关闭?

有时候跑完脚本后,IEDriverServer.exe进程没杀掉。

解决方法:

在关闭driver时用Driver.Quit();不要用Driver.Close();
Driver.Quit() Quit this dirver, closing every associated windows;
Driver.Close() Close the current window, quiting the browser if it is the last window currently open.

原文地址:https://www.cnblogs.com/yongfeiuall/p/4134149.html