Пример #1
0
 def run(self):
   process = ChromeREPLHelpers.get_chrome_process()
   if process is not None:
     process.terminate()
     process.wait()
     start_chrome()
Пример #2
0
 def restart_chrome(self, use_default_chrome_profile):
   process = ChromeREPLHelpers.get_chrome_process()
   if process is not None:
     process.terminate()
     process.wait()
     start_chrome(use_default_chrome_profile)