Skip to content

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

Formatter

Magnus Müller23fbf7521588
diff --git a/tests/ci/test_browser_event_ClickElementEvent.py b/tests/ci/test_browser_event_ClickElementEvent.py
index a2017d381..4d44337e1 100644
--- a/tests/ci/test_browser_event_ClickElementEvent.py
+++ b/tests/ci/test_browser_event_ClickElementEvent.py
@@ -1094,8 +1094,6 @@ class TestClickElementEvent:
except BrowserError as e:
assert 'not available' in str(e), f'Error should mention file not available: {e}'
-
-
finally:
# Clean up the temporary file
Path(test_file_path).unlink(missing_ok=True)