Skip to content

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

hotfix

mertunsall8bc6c3d2b7c7
diff --git a/tests/ci/test_agent_multiprocessing.py b/tests/ci/test_agent_multiprocessing.py
index 5f0647288..9d3acffa2 100644
--- a/tests/ci/test_agent_multiprocessing.py
+++ b/tests/ci/test_agent_multiprocessing.py
@@ -49,7 +49,7 @@ def run_agent_in_subprocess_module(task_description):
response_content = """
{
- "thinking": null,
+ "thinking": "null",
"evaluation_previous_goal": "Starting the task",
"memory": "Task completed",
"next_goal": "Complete the task",
@@ -363,7 +363,7 @@ class TestParallelism:
# Create action sequences - each agent creates a new tab
tab_action = """
{
- "thinking": null,
+ "thinking": "null",
"evaluation_previous_goal": "Starting task",
"memory": "Need new tab",
"next_goal": "Create new tab",
@@ -379,7 +379,7 @@ class TestParallelism:
done_action = """
{
- "thinking": null,
+ "thinking": "null",
"evaluation_previous_goal": "Tab created",
"memory": "Task done",
"next_goal": "Complete",
diff --git a/tests/ci/test_browser_session_output_paths.py b/tests/ci/test_browser_session_output_paths.py
index e39660065..e6113f921 100644
--- a/tests/ci/test_browser_session_output_paths.py
+++ b/tests/ci/test_browser_session_output_paths.py
@@ -54,7 +54,7 @@ def interactive_llm(httpserver_url):
# First action: Navigate to the page
f"""
{{
- "thinking": null,
+ "thinking": "null",
"evaluation_previous_goal": "Starting the task",
"memory": "Need to navigate to the test page",
"next_goal": "Navigate to the URL",
@@ -70,7 +70,7 @@ def interactive_llm(httpserver_url):
# Second action: Click in the search box
"""
{
- "thinking": null,
+ "thinking": "null",
"evaluation_previous_goal": "Successfully navigated to the page",
"memory": "Page loaded, can see search box and submit button",
"next_goal": "Click on the search box to focus it",
@@ -86,7 +86,7 @@ def interactive_llm(httpserver_url):
# Third action: Type text in the search box
"""
{
- "thinking": null,
+ "thinking": "null",
"evaluation_previous_goal": "Clicked on search box",
"memory": "Search box is focused and ready for input",
"next_goal": "Type 'test' in the search box",
@@ -103,7 +103,7 @@ def interactive_llm(httpserver_url):
# Fourth action: Click submit button
"""
{
- "thinking": null,
+ "thinking": "null",
"evaluation_previous_goal": "Typed 'test' in search box",
"memory": "Text 'test' has been entered successfully",
"next_goal": "Click the submit button to complete the task",
diff --git a/tests/ci/test_browser_session_start.py b/tests/ci/test_browser_session_start.py
index 2c83820af..bec2a5192 100644
--- a/tests/ci/test_browser_session_start.py
+++ b/tests/ci/test_browser_session_start.py
@@ -580,7 +580,7 @@ class TestBrowserSessionReusePatterns:
# Return a valid JSON response that completes the task
response.content = """
{
- "thinking": null,
+ "thinking": "null",
"evaluation_previous_goal": "Starting the task",
"memory": "Task started",
"next_goal": "Complete the task",
@@ -730,7 +730,7 @@ class TestBrowserSessionReusePatterns:
tab_creation_action = (
"""
{
- "thinking": null,
+ "thinking": "null",
"evaluation_previous_goal": "Starting the task",
"memory": "Need to create a new tab",
"next_goal": "Create a new tab to work in",
@@ -748,7 +748,7 @@ class TestBrowserSessionReusePatterns:
done_action = """
{
- "thinking": null,
+ "thinking": "null",
"evaluation_previous_goal": "Tab created",
"memory": "Task completed in new tab",
"next_goal": "Complete the task",