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 scroll
Magnus Müllerf6918d55ec32
diff --git a/tests/ci/test_browser_event_ScrollEvent.py b/tests/ci/test_browser_event_ScrollEvent.pyindex 6ea845b46..179298b42 100644--- a/tests/ci/test_browser_event_ScrollEvent.py+++ b/tests/ci/test_browser_event_ScrollEvent.py@@ -103,7 +103,7 @@ class TestScrollActions:assert result.error is None, f'Scroll down failed: {result.error}'assert result.extracted_content is not Noneassert 'Scrolled down' in result.extracted_content- assert 'the page' in result.extracted_content+ assert 'px' in result.extracted_content# Test 2: Basic page scroll upscroll_up_action = {'scroll': ScrollAction(down=False, pages=0.5)}