Skip to content

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

style: fix formatting in tests/ci/conftest.py

sudhanshu112233shuklabf056b69b411
diff --git a/tests/ci/conftest.py b/tests/ci/conftest.py
index f478429e3..a6e9df45d 100644
--- a/tests/ci/conftest.py
+++ b/tests/ci/conftest.py
@@ -39,12 +39,14 @@ from bubus import BaseEvent
# The default is often 30s, which is too tight when browser launch takes 28s
original_process_event = bubus.EventBus.process_event
+
async def patched_process_event(self, event: bubus.BaseEvent, *args, **kwargs):
# If timeout is not explicitly set (or key missing), default to 60s for CI
if 'timeout' not in kwargs:
kwargs['timeout'] = 60.0
return await original_process_event(self, event, *args, **kwargs)
+
bubus.EventBus.process_event = patched_process_event
from browser_use import Agent