mirror of
https://github.com/browser-use/web-ui.git
synced 2026-03-22 11:17:17 +08:00
Update custom_context.py
This commit is contained in:
@@ -42,7 +42,10 @@ class CustomBrowserContext(BrowserContext):
|
||||
bypass_csp=self.config.disable_security,
|
||||
ignore_https_errors=self.config.disable_security,
|
||||
record_video_dir=self.config.save_recording_path,
|
||||
record_video_size=self.config.browser_window_size.model_dump(),
|
||||
record_video_size={
|
||||
"width": self.config.window_width,
|
||||
"height": self.config.window_height
|
||||
},
|
||||
record_har_path=self.config.save_har_path,
|
||||
locale=self.config.locale,
|
||||
http_credentials=self.config.http_credentials,
|
||||
|
||||
Reference in New Issue
Block a user