Skip to content

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

Merge branch 'gregor/lib-53-fix-extraction-layer-problems' into main

Gregor Žunič3427cf9f6b0e
diff --cc browser_use/browser/context.py
index ba4c891ed,91da96ff3..4afaa7e59
--- a/browser_use/browser/context.py
+++ b/browser_use/browser/context.py
@@@ -156,10 -145,9 +156,10 @@@ class BrowserContextConfig(BaseModel)
)
highlight_elements: bool = True
- viewport_expansion: int = 500
+ viewport_expansion: int = 0
allowed_domains: list[str] | None = None
include_dynamic_attributes: bool = True
+ http_credentials: dict[str, str] | None = None
keep_alive: bool = Field(default=False, alias='_force_keep_context_alive') # used to be called _force_keep_context_alive
is_mobile: bool | None = None