The close() method closes the current driver window and releases any resources held. The quit() method exits the application.