Skip to content

Commit

Permalink
Update browser crash test for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
elacuesta committed Jul 23, 2024
1 parent 5939d6f commit 85e005a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests_asyncio/test_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def inject_fixtures(self, caplog):
@staticmethod
def kill_chrome():
for proc in psutil.process_iter(["pid", "name"]):
if proc.info["name"] == "chrome":
if proc.info["name"].lower() in ("chrome", "chromium"):
os.kill(proc.info["pid"], signal.SIGKILL)

@allow_windows
Expand Down

0 comments on commit 85e005a

Please sign in to comment.