Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

stop playwright at the end of test

Nick Sweetingbd349e922f9c
diff --git a/tests/ci/test_browser_session_via_cdp.py b/tests/ci/test_browser_session_via_cdp.py
index b00fa904a..1ffd30267 100644
--- a/tests/ci/test_browser_session_via_cdp.py
+++ b/tests/ci/test_browser_session_via_cdp.py
@@ -24,3 +24,4 @@ async def test_connection_via_cdp(monkeypatch):
await browser_session.close()
await browser.close()
+ await playwright.stop()