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
Run core test with -s
magmueller674849a96508
diff --git a/tests/test_core_functionality.py b/tests/test_core_functionality.pyindex 5b58624d4..e9fbc176e 100644--- a/tests/test_core_functionality.py+++ b/tests/test_core_functionality.py@@ -12,11 +12,11 @@ def llm():return ChatOpenAI(model='gpt-4o') # Use appropriate model+# pytest -s -k test_search_google@pytest.fixtureasync def controller():"""Initialize the controller with persistent browser"""- controller = Controller(keep_open=True)- await controller.browser._initialize_session()+ controller = Controller(keep_open=True, headless=False)try:yield controller