Skip to content

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

formatting

EnzoFanAccount8136d029d6f8
diff --git a/browser_use/browser/profile.py b/browser_use/browser/profile.py
index 3c46826f4..d454edf75 100644
--- a/browser_use/browser/profile.py
+++ b/browser_use/browser/profile.py
@@ -594,9 +594,8 @@ class BrowserProfile(BrowserConnectArgs, BrowserLaunchPersistentContextArgs, Bro
# save_har_path: alias of record_har_path
# trace_path: alias of traces_dir
-
- # these shadow the old playwright args on BrowserContextArgs, but it's ok
- # because we handle them ourselves in a watchdog and we no longer use playwright, so they should live in the scope for our own config in BrowserProfile long-term
+ # these shadow the old playwright args on BrowserContextArgs, but it's ok
+ # because we handle them ourselves in a watchdog and we no longer use playwright, so they should live in the scope for our own config in BrowserProfile long-term
record_video_dir: Path | None = Field(
default=None,
description='Directory to save video recordings. If set, a video of the session will be recorded.',