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.

posted @ 2019-02-24 12:04  hexianling  阅读(799)  评论(0编辑  收藏  举报