Skip to content

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

Typo

Magnus Müller1535bb1aa569
diff --git a/browser_use/__init__.py b/browser_use/__init__.py
index 59a70cfd2..377586856 100644
--- a/browser_use/__init__.py
+++ b/browser_use/__init__.py
@@ -70,7 +70,7 @@ if TYPE_CHECKING:
_LAZY_IMPORTS = {
# Agent service (heavy due to dependencies)
# 'Agent': ('browser_use.agent.service', 'Agent'),
- # Code-use agent (Jupiter notebook-like execution)
+ # Code-use agent (Jupyter notebook-like execution)
'CodeAgent': ('browser_use.code_use.service', 'CodeAgent'),
'Agent': ('browser_use.agent.service', 'Agent'),
# System prompt (moderate weight due to agent.views imports)
diff --git a/browser_use/code_use/__init__.py b/browser_use/code_use/__init__.py
index 9fd858dec..9f304b30f 100644
--- a/browser_use/code_use/__init__.py
+++ b/browser_use/code_use/__init__.py
@@ -1,4 +1,4 @@
-"""Code-use mode - Jupiter notebook-like code execution for browser automation."""
+"""Code-use mode - Jupyter notebook-like code execution for browser automation."""
from browser_use.code_use.namespace import create_namespace
from browser_use.code_use.notebook_export import export_to_ipynb, session_to_python_script
diff --git a/browser_use/code_use/namespace.py b/browser_use/code_use/namespace.py
index c0e9bb130..71739c43a 100644
--- a/browser_use/code_use/namespace.py
+++ b/browser_use/code_use/namespace.py
@@ -1,7 +1,7 @@
"""Namespace initialization for code-use mode.
This module creates a namespace with all browser tools available as functions,
-similar to a Jupiter notebook environment.
+similar to a Jupyter notebook environment.
"""
import asyncio
@@ -265,7 +265,7 @@ def create_namespace(
Create a namespace with all browser tools available as functions.
This function creates a dictionary of functions that can be used to interact
- with the browser, similar to a Jupiter notebook environment.
+ with the browser, similar to a Jupyter notebook environment.
Args:
browser_session: The browser session to use
diff --git a/browser_use/code_use/service.py b/browser_use/code_use/service.py
index dff2f199d..4edcf4a98 100644
--- a/browser_use/code_use/service.py
+++ b/browser_use/code_use/service.py
@@ -1,4 +1,4 @@
-"""Code-use agent service - Jupiter notebook-like code execution for browser automation."""
+"""Code-use agent service - Jupyter notebook-like code execution for browser automation."""
import asyncio
import datetime
@@ -51,7 +51,7 @@ class CodeAgent:
"""
Agent that executes Python code in a notebook-like environment for browser automation.
- This agent provides a Jupiter notebook-like interface where the LLM writes Python code
+ This agent provides a Jupyter notebook-like interface where the LLM writes Python code
that gets executed in a persistent namespace with browser control functions available.
"""
diff --git a/examples/code_use_extract_products.py b/examples/code_use_extract_products.py
index e00595b82..23d416ed9 100644
--- a/examples/code_use_extract_products.py
+++ b/examples/code_use_extract_products.py
@@ -1,7 +1,7 @@
"""
Example: Using code-use mode to extract products from multiple pages.
-This example demonstrates the new code-use mode, which works like a Jupiter notebook
+This example demonstrates the new code-use mode, which works like a Jupyter notebook
where the LLM writes Python code that gets executed in a persistent namespace.
The agent can: