def run(self):
   process = ChromeREPLHelpers.get_chrome_process()
   if process is not None:
     process.terminate()
     process.wait()
     start_chrome()
Example #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)