We can use quit() as it calls the "driver. dispose" method to close the selenium web driver and ongoing applications on it. ...