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
enforce at least one about:blank page
Nick Sweeting4d92912cee2d
diff --git a/tests/ci/test_aboutblank_watchdog.py b/tests/ci/test_aboutblank_watchdog.pyindex 0bf9b642b..bfdbcffd0 100644--- a/tests/ci/test_aboutblank_watchdog.py+++ b/tests/ci/test_aboutblank_watchdog.py@@ -113,6 +113,11 @@ async def test_aboutblank_watchdog_dvd_screensaver():pages = session.pagesabout_blank_pages = [p for p in pages if p.url == 'about:blank']+ # AboutBlankWatchdog should have created at least one about:blank animation tab+ assert len(about_blank_pages) >= 1, (+ f'Expected at least one about:blank animation tab for DVD screensaver test, but found {len(about_blank_pages)}'+ )+if about_blank_pages:# Try to show screensaver on first about:blank pagetry: