|
@@ -112,8 +112,7 @@ def run_once():
|
|
|
options.add_argument("--disable-dev-shm-usage")
|
|
|
options.add_argument("--incognito")
|
|
|
print('before init')
|
|
|
- os.system('taskkill /f /im msedge.exe')
|
|
|
- os.system('taskkill /f /im chrome.exe')
|
|
|
+ os.system('killall -9 chrome.exe')
|
|
|
driver = webdriver.Chrome(options=options)
|
|
|
print('after init')
|
|
|
|