📜  close vs quit 方法 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:20.458000             🧑  作者: Mango

代码示例2
Two methods do same thing but, there is a small difference;
driver.close() is used to close the current browser that we are
running the test.
driver.quit() is used to close all the browser opened by Selenium
Webdriver.