Which method closes the open browser in WebDriver?
The openBrowser() method of the RemoteWebDriver class can be used to open the browser and navigate to the desired URL. However, this method does not close the browser window when it is done. In order to close the browser, you can use two different approaches. You can use the close() method or you can call quit(). Both these approaches will work in different situations.