Skip to content

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

example type fix

EnzoFanAccountebe2b3b0a361
diff --git a/examples/features/parallel_agents.py b/examples/features/parallel_agents.py
index a66ed4b20..72f11c871 100644
--- a/examples/features/parallel_agents.py
+++ b/examples/features/parallel_agents.py
@@ -1,6 +1,7 @@
import asyncio
import os
import sys
+from pathlib import Path
sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))
@@ -16,7 +17,7 @@ browser_session = BrowserSession(
browser_profile=BrowserProfile(
keep_alive=True,
headless=False,
- record_video_dir='./tmp/recordings',
+ record_video_dir=Path('./tmp/recordings'),
user_data_dir='~/.config/browseruse/profiles/default',
)
)