Skip to content

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

comment

Nick Sweetingd5678324cbcc
diff --git a/tests/ci/test_sequential_agents_reuse.py b/tests/ci/test_sequential_agents_reuse.py
index 3d4d54801..fbfe7d5b6 100644
--- a/tests/ci/test_sequential_agents_reuse.py
+++ b/tests/ci/test_sequential_agents_reuse.py
@@ -281,7 +281,7 @@ class TestSequentialAgentsReuse:
)
await browser_session.start()
- # Store initial browser process ID
+ # Store initial browser process ID if available
initial_browser_pid = browser_session.browser_pid
# Create and run first agent in a scope that will be garbage collected