Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
tweak docstring
Nick Sweeting074b01f6d133
diff --git a/tests/test_context.py b/tests/test_context.pyindex 2ef634440..b4d5a2ad5 100644--- a/tests/test_context.py+++ b/tests/test_context.py@@ -15,7 +15,7 @@ def test_is_url_allowed():Scenario 1: When allowed_domains is None, all URLs should be allowed.Scenario 2: When allowed_domains is a list, only URLs matching the allowed domain(s) are allowed.Scenario 3: When the URL is malformed, it should return False.- Scenario 4: When allowed_domains contain glob patterns, matching should work according to glob rules.+ Scenario 4: When allowed_domains contain glob patterns, see: test_url_allowlist_security.py"""# Create a dummy Browser mock. Only the 'config' attribute is needed for _is_url_allowed.dummy_browser = Mock()