fix: ensure BrowserConfig.to_dict serializes proxy_config

This commit is contained in:
Soham Kukreti
2025-11-26 17:44:06 +05:30
parent b36c6daa5c
commit a0c5f0f79a

View File

@@ -598,7 +598,7 @@ class BrowserConfig:
"chrome_channel": self.chrome_channel,
"channel": self.channel,
"proxy": self.proxy,
"proxy_config": self.proxy_config,
"proxy_config": self.proxy_config.to_dict() if self.proxy_config else None,
"viewport_width": self.viewport_width,
"viewport_height": self.viewport_height,
"accept_downloads": self.accept_downloads,