Skip to content

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

Remove comma

Magnus Müller6bccc224cae6
diff --git a/browser_use/agent/prompts.py b/browser_use/agent/prompts.py
index c65359f24..17a214a93 100644
--- a/browser_use/agent/prompts.py
+++ b/browser_use/agent/prompts.py
@@ -236,7 +236,7 @@ class AgentMessagePrompt:
current_page_position = pi.scroll_y / max(pi.page_height - pi.viewport_height, 1)
page_info_text = '<page_info>'
page_info_text += f'{pages_above:.1f} above, '
- page_info_text += f'{pages_below:.1f} below, '
+ page_info_text += f'{pages_below:.1f} below '
page_info_text += '</page_info>\n'
# , at {current_page_position:.0%} of page