parameters: (self)
docstring: Tears down the browser.
  
      Can be overridden by subclasses. The subclass implementation must call the
      super class implementation.
docstring_summary: Tears down the browser.
docstring_tokens: Tears down the browser .
function: def TearDownBrowser(self):
      """Tears down the browser.
  
      Can be overridden by subclasses. The subclass implementation must call the
      super class implementation.
      """
      if self._browser:
        if self._should_close_network_controller:
          self._browser.platform.network_controller.Close()
        self._browser.Close()
        self._browser = None
function_tokens: def TearDownBrowser ( self ) : if self . _browser : if self . _should_close_network_controller : self . _browser . platform . network_controller . Close ( ) self . _browser . Close ( ) self . _browser = None