Id |
Detail |
driver.quit() |
It basically calls driver.dispose() method which in turn closes all the browser windows and ends the WebDriver session gracefully. Usability |
driver.close() |
close() is a webdriver command which closes the browser window which is currently in focus. ... The remaining browser windows will not be closed. Usability |
driver.close() VS. driver.quit()
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.