original_docstring: 
          Kills old session and creates a new one with no proxies or headers
          
docstring: Kills old session and creates a new one with no proxies or headers
docstring_tokens: Kills old session and creates a new one with no proxies or headers
code: def reset(self):
          """
          Kills old session and creates a new one with no proxies or headers
          """
          # Kill old connection
          self.quit()
          # Clear proxy data
          self.driver_args['service_args'] = self.default_service_args
          # Clear headers
          self.dcap = dict(webdriver.DesiredCapabilities.PHANTOMJS)
          # Create new web driver
          self._create_session()
code_tokens: def reset ( self ) : self . quit ( ) self . driver_args [ 'service_args' ] = self . default_service_args self . dcap = dict ( webdriver . DesiredCapabilities . PHANTOMJS ) self . _create_session ( )
short_docstring: Kills old session and creates a new one with no proxies or headers
short_docstring_tokens: Kills old session and creates a new one with no proxies or headers
comment: """
          Kills old session and creates a new one with no proxies or headers
          """$SEP$# Kill old connection$SEP$# Clear proxy data$SEP$# Clear headers$SEP$# Create new web driver