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-aaecb00ea3b44f
diff --git a/tests/test_browser.py b/tests/test_browser.pyindex fe31c3968..73abe1af9 100644--- a/tests/test_browser.py+++ b/tests/test_browser.py@@ -516,6 +516,9 @@ async def test_browser_window_size(monkeypatch):async def close(self):pass++ async def grant_permissions(self, permissions, origin=None):+ passclass DummyBrowser:def __init__(self):