Skip to content

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

add extra_chromium_args to real browser

vvincent12340399846d6cbb
diff --git a/browser_use/browser/browser.py b/browser_use/browser/browser.py
index 5d887796e..df561f407 100644
--- a/browser_use/browser/browser.py
+++ b/browser_use/browser/browser.py
@@ -147,7 +147,7 @@ class Browser:
[
self.config.chrome_instance_path,
'--remote-debugging-port=9222',
- ],
+ ] + self.config.extra_chromium_args,
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL,
)