diff --git a/browser_use/controller/service.py b/browser_use/controller/service.py index 3a384acf4..090384c64 100644 --- a/browser_use/controller/service.py +++ b/browser_use/controller/service.py @@ -336,7 +336,7 @@ class Controller(Generic[Context]): 'Save the raw HTML content of the current page to a local file', param_model=NoParamsAction, ) - async def download_html(_: NoParamsAction, browser: BrowserContext) -> ActionResult: + async def save_html_to_file(_: NoParamsAction, browser: BrowserContext) -> ActionResult: """Retrieves and returns the full HTML content of the current page to a file""" try: page = await browser.get_current_page()