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: remove non-functional save_recording_path parameter
Saurav Panda4b0cdec7380a
diff --git a/browser_use/browser/profile.py b/browser_use/browser/profile.pyindex bd9e89cc6..24d26468c 100644--- a/browser_use/browser/profile.py+++ b/browser_use/browser/profile.py@@ -599,7 +599,6 @@ class BrowserProfile(BrowserConnectArgs, BrowserLaunchPersistentContextArgs, Broprofile_directory: str = 'Default' # e.g. 'Profile 1', 'Profile 2', 'Custom Profile', etc.- save_recording_path: str | None = Field(default=None, description='Directory for video recordings.')save_har_path: str | None = Field(default=None, description='Directory for saving HAR files.')trace_path: str | None = Field(default=None, description='Directory for saving trace files.')diff --git a/docs/customize/browser-settings.mdx b/docs/customize/browser-settings.mdxindex 5494c0196..e8bbea7d4 100644--- a/docs/customize/browser-settings.mdx+++ b/docs/customize/browser-settings.mdx@@ -376,14 +376,6 @@ window_position: dict | None = {"width": 0, "height": 0}Window position from top-left corner.-#### `save_recording_path`--```python-save_recording_path: str | None = None-```--Directory path for saving video recordings.-#### `trace_path````python@@ -798,6 +790,10 @@ record_video_dir: str | Path | None = NoneDirectory to save video recordings. [Playwright Docs: `record_video_dir`](https://playwright.dev/python/docs/api/class-browsertype#browser-type-launch-persistent-context-option-record-video-dir)+<Note>+This is the standard Playwright parameter for video recording. If you previously used `save_recording_path`, please update your code to use `record_video_dir` instead.+</Note>+#### `record_video_size````pythondiff --git a/examples/features/parallel_agents.py b/examples/features/parallel_agents.pyindex 907bffa94..b2dfa7736 100644--- a/examples/features/parallel_agents.py+++ b/examples/features/parallel_agents.py@@ -17,7 +17,7 @@ browser_session = BrowserSession(browser_profile=BrowserProfile(disable_security=True,headless=False,- save_recording_path='./tmp/recordings',+ record_video_dir='./tmp/recordings',user_data_dir='~/.config/browseruse/profiles/default',))