selenium 使用close和quit关闭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.

猜你喜欢

转载自www.cnblogs.com/hexianl/p/10425772.html