Skip to content

Commit

Permalink
refactor(browser):
Browse files Browse the repository at this point in the history
Update browser channel default to 'chromium' in BrowserConfig.from_args method
  • Loading branch information
unclecode committed Jan 1, 2025
1 parent 7688aca commit ea0ac25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crawl4ai/async_configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ def from_kwargs(kwargs: dict) -> "BrowserConfig":
use_managed_browser=kwargs.get("use_managed_browser", False),
use_persistent_context=kwargs.get("use_persistent_context", False),
user_data_dir=kwargs.get("user_data_dir"),
chrome_channel=kwargs.get("chrome_channel", "chrome"),
chrome_channel=kwargs.get("chrome_channel", "chromium"),
channel=kwargs.get("channel", "chromium"),
proxy=kwargs.get("proxy"),
proxy_config=kwargs.get("proxy_config"),
viewport_width=kwargs.get("viewport_width", 1080),
Expand Down

0 comments on commit ea0ac25

Please sign in to comment.