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
Linter
Magnus Müller889657a27371
diff --git a/browser_use/browser/profile.py b/browser_use/browser/profile.pyindex 32777a25a..4fa41b1ad 100644--- a/browser_use/browser/profile.py+++ b/browser_use/browser/profile.py@@ -850,7 +850,7 @@ class BrowserProfile(BrowserConnectArgs, BrowserLaunchPersistentContextArgs, Broif not bg_path.exists():return- with open(bg_path, 'r', encoding='utf-8') as f:+ with open(bg_path, encoding='utf-8') as f:content = f.read()# Create the whitelisted domains object for JavaScript with proper indentation