Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
Fix test
Magnus Mülleredbfcd2cdbc1
diff --git a/tests/ci/test_browser_event_ClickElementEvent.py b/tests/ci/test_browser_event_ClickElementEvent.pyindex 435c0ac7b..08265ac98 100644--- a/tests/ci/test_browser_event_ClickElementEvent.py+++ b/tests/ci/test_browser_event_ClickElementEvent.py@@ -260,7 +260,11 @@ class TestClickElementEvent:# Verify the resultassert isinstance(result, ActionResult)- assert result.extracted_content is not None+ result_text = result.extracted_content or result.long_term_memory+ assert result_text is not None+ assert f'Clicked element with index {link_index}' in result_text, (+ f'Expected click confirmation in result content, got: {result_text}'+ )# Verify that a new tab was openedtabs = await browser_session.get_tabs()