Skip to content

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

style: Remove trailing whitespace to fix pre-commit formatting

Louis571bfa78a478
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.py
index f99007193..c8c9192d4 100644
--- a/browser_use/agent/service.py
+++ b/browser_use/agent/service.py
@@ -1229,7 +1229,7 @@ class Agent(Generic[Context, AgentStructuredOutput]):
self.logger.debug('📡 Dispatching CreateAgentSessionEvent...')
# Emit CreateAgentSessionEvent at the START of run()
self.eventbus.dispatch(CreateAgentSessionEvent.from_agent(self))
-
+
self.state.session_initialized = True
self.logger.debug('📡 Dispatching CreateAgentTaskEvent...')