:feelsgood: CODING FEELS SO GOOD MAN!

This commit is contained in:
Sam Sneed 2024-07-25 13:30:31 -05:00
parent dd6910914c
commit c850368019

View file

@ -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()