Skip to content

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

bump package versions

Nick Sweeting4b6959fad008
diff --git a/browser_use/main.py b/browser_use/main.py
index e808f42dd..48af46c4d 100644
--- a/browser_use/main.py
+++ b/browser_use/main.py
@@ -337,6 +337,7 @@ class BrowserUseApp(App):
padding: 1;
margin-bottom: 1;
height: auto;
+ dock: bottom;
}
#task-label {
@@ -815,7 +816,7 @@ class BrowserUseApp(App):
# Add current state information
if hasattr(self.agent, 'running'):
if self.agent.running:
- model_info.write('[yellow]LLM is thinking...[/]')
+ model_info.write('[yellow]LLM is thinking[blink]...[/][/]')
elif hasattr(self.agent, 'state') and hasattr(self.agent.state, 'paused') and self.agent.state.paused:
model_info.write('[orange]LLM paused[/]')
else:
@@ -940,6 +941,11 @@ class BrowserUseApp(App):
tasks_panel = self.query_one('#tasks-panel')
tasks_panel.scroll_end(animate=False)
+ def scroll_to_input(self) -> None:
+ """Scroll to the input field to ensure it's visible."""
+ input_container = self.query_one('#task-input-container')
+ input_container.scroll_visible()
+
def run_task(self, task: str) -> None:
"""Launch the task in a background worker."""
# Create or update the agent
@@ -991,8 +997,17 @@ class BrowserUseApp(App):
# No need to call update_info_panels() here as it's already updating via timer
logger.info('\n✅ Task completed!')
+
+ # Make sure the task input container is visible
+ task_input_container = self.query_one('#task-input-container')
+ task_input_container.display = True
+
# Refocus the input field
- self.query_one('#task-input').focus()
+ input_field = self.query_one('#task-input')
+ input_field.focus()
+
+ # Ensure the input is visible by scrolling to it
+ self.call_after_refresh(self.scroll_to_input)
# Run the worker
self.run_worker(agent_task_worker, name='agent_task')
@@ -1037,6 +1052,7 @@ class BrowserUseApp(App):
# Exit the application
self.exit()
+ print('\nTry running tasks on our cloud: https://browser-use.com')
def compose(self) -> ComposeResult:
"""Create the UI layout."""
diff --git a/pyproject.toml b/pyproject.toml
index 0d81a8b95..2302a2901 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -36,9 +36,9 @@ dependencies = [
"psutil>=7.0.0",
"faiss-cpu>=1.9.0",
"mem0ai==0.1.93",
- "rich>=13.7.1",
- "click>=8.1.7",
- "textual>=0.47.1",
+ "rich>=14.0.0",
+ "click>=8.1.8",
+ "textual>=3.2.0",
]
# botocore: only needed for Bedrock Claude boto3 examples/models/bedrock_claude.py
# pydantic: >2.11 introduces many pydantic deprecation warnings until langchain-core upgrades their pydantic support lets keep it on 2.10