Skip to content

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

Organize tests

Magnus Müllerc1982936c909
diff --git a/tests/ci/test_cloud_browser.py b/tests/ci/browser/test_cloud_browser.py
similarity index 100%
rename from tests/ci/test_cloud_browser.py
rename to tests/ci/browser/test_cloud_browser.py
diff --git a/tests/ci/test_browser_session_output_paths.py b/tests/ci/browser/test_output_paths.py
similarity index 100%
rename from tests/ci/test_browser_session_output_paths.py
rename to tests/ci/browser/test_output_paths.py
diff --git a/tests/ci/test_browser_session_proxy.py b/tests/ci/browser/test_proxy.py
similarity index 100%
rename from tests/ci/test_browser_session_proxy.py
rename to tests/ci/browser/test_proxy.py
diff --git a/tests/ci/test_browser_session_take_screenshot.py b/tests/ci/browser/test_screenshot.py
similarity index 100%
rename from tests/ci/test_browser_session_take_screenshot.py
rename to tests/ci/browser/test_screenshot.py
diff --git a/tests/ci/test_browser_session_start.py b/tests/ci/browser/test_session_start.py
similarity index 100%
rename from tests/ci/test_browser_session_start.py
rename to tests/ci/browser/test_session_start.py
diff --git a/tests/ci/test_config.py b/tests/ci/infrastructure/test_config.py
similarity index 100%
rename from tests/ci/test_config.py
rename to tests/ci/infrastructure/test_config.py
diff --git a/tests/ci/test_filesystem.py b/tests/ci/infrastructure/test_filesystem.py
similarity index 100%
rename from tests/ci/test_filesystem.py
rename to tests/ci/infrastructure/test_filesystem.py
diff --git a/tests/ci/test_registry_action_parameter_injection.py b/tests/ci/infrastructure/test_registry_action_parameter_injection.py
similarity index 100%
rename from tests/ci/test_registry_action_parameter_injection.py
rename to tests/ci/infrastructure/test_registry_action_parameter_injection.py
diff --git a/tests/ci/test_registry_core.py b/tests/ci/infrastructure/test_registry_core.py
similarity index 100%
rename from tests/ci/test_registry_core.py
rename to tests/ci/infrastructure/test_registry_core.py
diff --git a/tests/ci/test_registry_validation.py b/tests/ci/infrastructure/test_registry_validation.py
similarity index 100%
rename from tests/ci/test_registry_validation.py
rename to tests/ci/infrastructure/test_registry_validation.py
diff --git a/tests/ci/test_url_shortening.py b/tests/ci/infrastructure/test_url_shortening.py
similarity index 100%
rename from tests/ci/test_url_shortening.py
rename to tests/ci/infrastructure/test_url_shortening.py
diff --git a/tests/ci/test_browser_event_GetDropdownOptionsEvent_aria_menus.py b/tests/ci/interactions/test_dropdown_aria_menus.py
similarity index 100%
rename from tests/ci/test_browser_event_GetDropdownOptionsEvent_aria_menus.py
rename to tests/ci/interactions/test_dropdown_aria_menus.py
diff --git a/tests/ci/test_browser_event_GetDropdownOptionsEvent.py b/tests/ci/interactions/test_dropdown_native.py
similarity index 100%
rename from tests/ci/test_browser_event_GetDropdownOptionsEvent.py
rename to tests/ci/interactions/test_dropdown_native.py
diff --git a/tests/ci/interaction/test_radio_buttons.html b/tests/ci/interactions/test_radio_buttons.html
similarity index 100%
rename from tests/ci/interaction/test_radio_buttons.html
rename to tests/ci/interactions/test_radio_buttons.html
diff --git a/tests/ci/interaction/test_radio_buttons.py b/tests/ci/interactions/test_radio_buttons.py
similarity index 100%
rename from tests/ci/interaction/test_radio_buttons.py
rename to tests/ci/interactions/test_radio_buttons.py
diff --git a/tests/ci/test_llm_schema_optimizer.py b/tests/ci/models/test_llm_schema_optimizer.py
similarity index 100%
rename from tests/ci/test_llm_schema_optimizer.py
rename to tests/ci/models/test_llm_schema_optimizer.py
diff --git a/tests/ci/test_browser_watchdog_security2.py b/tests/ci/security/test_domain_filtering.py
similarity index 100%
rename from tests/ci/test_browser_watchdog_security2.py
rename to tests/ci/security/test_domain_filtering.py
diff --git a/tests/ci/test_browser_watchdog_security_ip_blocking.py b/tests/ci/security/test_ip_blocking.py
similarity index 100%
rename from tests/ci/test_browser_watchdog_security_ip_blocking.py
rename to tests/ci/security/test_ip_blocking.py
diff --git a/tests/ci/test_browser_profile_disable_security.py b/tests/ci/security/test_security_flags.py
similarity index 100%
rename from tests/ci/test_browser_profile_disable_security.py
rename to tests/ci/security/test_security_flags.py
diff --git a/tests/ci/test_agent_sensitive_data.py b/tests/ci/security/test_sensitive_data.py
similarity index 100%
rename from tests/ci/test_agent_sensitive_data.py
rename to tests/ci/security/test_sensitive_data.py