Skip to content

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

Update tests/ci/test_navigation_watchdog.py

Nick Sweeting0a172d182b52
diff --git a/tests/ci/test_navigation_watchdog.py b/tests/ci/test_navigation_watchdog.py
index 533b3f5a9..c86239e95 100644
--- a/tests/ci/test_navigation_watchdog.py
+++ b/tests/ci/test_navigation_watchdog.py
@@ -58,7 +58,7 @@ async def test_navigation_watchdog_tab_created_events():
# Verify the events have different tab indices (unless they're reusing the same tab)
unique_tab_indexes = {event.tab_index for event in tab_created_events}
- assert len(unique_tab_indexes) >= 1, 'Should have at least one unique tab index'
+ assert len(unique_tab_indexes) >= 2, 'Should have at least two unique tab indices'
finally:
# Stop browser