Skip to content

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

Merge pull request #967 from jlogtenberg/har-file

Nick Sweeting344942f6d5af
diff --cc browser_use/browser/context.py
index df3e37da4,462723444..266755c2e
--- a/browser_use/browser/context.py
+++ b/browser_use/browser/context.py
@@@ -351,12 -326,8 +352,13 @@@ class BrowserContext
ignore_https_errors=self.config.disable_security,
record_video_dir=self.config.save_recording_path,
record_video_size=self.config.browser_window_size,
+ record_har_path = self.config.save_har_path,
locale=self.config.locale,
+ is_mobile=self.config.is_mobile,
+ has_touch=self.config.has_touch,
+ geolocation=self.config.geolocation,
+ permissions=self.config.permissions,
+ timezone_id=self.config.timezone_id,
)
if self.config.trace_path: