Skip to content

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

chore: clarify click count assertion message

ditingdapeng8d969f393599
diff --git a/tests/ci/browser/test_dom_serializer.py b/tests/ci/browser/test_dom_serializer.py
index 7d773e6e0..93134cde8 100644
--- a/tests/ci/browser/test_dom_serializer.py
+++ b/tests/ci/browser/test_dom_serializer.py
@@ -270,7 +270,7 @@ class TestDOMSerializer:
print(f' Click counter value: {click_count}')
assert click_count == 4, (
- f'Expected 3 clicks (Regular DOM + Shadow DOM + Iframe), but counter shows {click_count}. '
+ f'Expected 4 clicks (Regular DOM + Shadow DOM + Iframe + AntD-like label), but counter shows {click_count}. '
f'This means some clicks did not execute JavaScript properly.'
)