:feelsgood: CODING FEELS SO GOOD MAN!
This commit is contained in:
parent
dd6910914c
commit
c850368019
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -311,8 +311,8 @@ def monitor_browser(browser='chrome'):
|
||||||
print(f'Alert: Killing suspicious process {proc.info["name"]} (PID: {proc.info["pid"]})')
|
print(f'Alert: Killing suspicious process {proc.info["name"]} (PID: {proc.info["pid"]})')
|
||||||
proc.terminate()
|
proc.terminate()
|
||||||
proc.wait()
|
proc.wait()
|
||||||
except (Exception) as e:
|
except (Exception) as e:
|
||||||
print(f"Exception while monitoring browser behavior - ${e}")
|
print(f"Exception while monitoring browser behavior - ${e}")
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
driver.quit()
|
driver.quit()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue