From ccc673bb42e26fd54346de57733a90ac95b7176b Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sat, 29 Mar 2025 05:41:46 -0400 Subject: [PATCH] Update browser_use/controller/service.py --- browser_use/controller/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()