code: def quit(self):
          
          try:
              self.execute(Command.QUIT)
          finally:
              self.stop_client()
              self.command_executor.close()
docs: Quits the driver and closes every associated window.
  
          :Usage:
              ::
  
                  driver.quit()