chrome/test/chromedriver/server/server.py
def Kill(self):
    """Kills the ChromeDriver server, if it is running."""
    if self._process is None:
      return

    try:
      urllib.request.urlopen(self.GetUrl() + '/shutdown', timeout=10).close()
    except:
      self._process.terminate()
    timer = threading.Timer(5, terminate_process, [self._process])
    timer.start()
    self._process.wait()
    timer.cancel()
    self._process = None
Kills the ChromeDriver server, if it is running.
Kills the ChromeDriver server, if it is running.
Kills the ChromeDriver server if it is running .
def Kill(self):
    if self._process is None:
      return
    try:
      urllib.request.urlopen(self.GetUrl() + '/shutdown', timeout=10).close()
    except:
      self._process.terminate()
    timer = threading.Timer(5, terminate_process, [self._process])
    timer.start()
    self._process.wait()
    timer.cancel()
    self._process = None
def Kill ( self ) : if self . _process is None : return try : urllib . request . urlopen ( self . GetUrl ( ) + '/shutdown' , timeout = 10 ) . close ( ) except : self . _process . terminate ( ) timer = threading . Timer ( 5 , terminate_process , [ self . _process ] ) timer . start ( ) self . _process . wait ( ) timer . cancel ( ) self . _process = None
Kills the ChromeDriver server, if it is running.
Kills the ChromeDriver server if it is running .
"""Kills the ChromeDriver server, if it is running."""
self