Skip to content

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

Extent description for extract page

magmueller0bb488a01acf
diff --git a/browser_use/controller/service.py b/browser_use/controller/service.py
index 15d4b3df8..3c8461bf0 100644
--- a/browser_use/controller/service.py
+++ b/browser_use/controller/service.py
@@ -130,7 +130,9 @@ class Controller:
# Content Actions
@self.registry.action(
- 'Extract page content', param_model=ExtractPageContentAction, requires_browser=True
+ 'Extract page content to get the text or markdown ',
+ param_model=ExtractPageContentAction,
+ requires_browser=True,
)
def extract_content(params: ExtractPageContentAction, browser: Browser):
driver = browser._get_driver()