How is driver.close()command different from driver.quit command?
S.no | close() | quit() |
---|---|---|
1. | Closes the browser window currently being used or accessed by WebDriver | Closes down all the windows that were opened by the program |
2. | Neither requires parameters nor returns values. | Neither requires parameters nor returns values. |
BY Best Interview Question ON 26 Jan 2019