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
Fix: Add missing 'grant_permissions' method to DummyContext to resolve AttributeError in test
dha-aaa6a5920dfd1a
diff --git a/tests/test_browser.py b/tests/test_browser.pyindex 73abe1af9..26f921279 100644--- a/tests/test_browser.py+++ b/tests/test_browser.py@@ -516,7 +516,7 @@ async def test_browser_window_size(monkeypatch):async def close(self):pass-+async def grant_permissions(self, permissions, origin=None):pass