From 689e2e7b30d39d66edca64f2fea29f7483cfddbd Mon Sep 17 00:00:00 2001 From: magmueller Date: Thu, 5 Dec 2024 23:37:17 +0100 Subject: [PATCH] Fix counter --- 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 5af109c26..93f3758f3 100644 --- a/browser_use/controller/service.py +++ b/browser_use/controller/service.py @@ -496,7 +496,7 @@ class Controller: ) if not new_path_hashes.issubset(cached_path_hashes): # next action requires index but there are new elements on the page - logger.info(f'Something new appeared after action {i + 1} / {len(actions)}') + logger.info(f'Something new appeared after action {i } / {len(actions)}') break results.append(await self.act(action, browser_context))