parameters: (self)
docstring: Closes this browser.
docstring_summary: Closes this browser.
docstring_tokens: Closes this browser .
function: def Close(self):
      """Closes this browser."""
      for profiler_class in self._profilers_states:
        profiler_class.WillCloseBrowser(self._browser_backend,
                                        self._platform_backend)
  
      self.platform.SetFullPerformanceModeEnabled(False)
  
      if self._wpr_server:
        self._wpr_server.Close()
        self._wpr_server = None
  
      if self._http_server:
        self._http_server.Close()
        self._http_server = None
  
      self._local_server_controller.Close()
      self._browser_backend.Close()
      self.credentials = None
function_tokens: def Close ( self ) : for profiler_class in self . _profilers_states : profiler_class . WillCloseBrowser ( self . _browser_backend , self . _platform_backend ) self . platform . SetFullPerformanceModeEnabled ( False ) if self . _wpr_server : self . _wpr_server . Close ( ) self . _wpr_server = None if self . _http_server : self . _http_server . Close ( ) self . _http_server = None self . _local_server_controller . Close ( ) self . _browser_backend . Close ( ) self . credentials = None